diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a09f090..5726f65 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build and Package for Tag ${{ github.ref_name }} +name: Build and Package for Tag on: push: @@ -13,6 +13,17 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '16' + + - name: Install dependencies + run: npm install + + - name: Build project + run: npm run build + - name: Get project name id: vars run: echo "::set-output name=project_name::$(basename $(git rev-parse --show-toplevel))"