diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 8020dce..8512dff 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -5,9 +5,8 @@ name: Node.js CI on: push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + tags: + - '*' jobs: build: @@ -16,7 +15,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -31,5 +30,5 @@ jobs: - run: npm run package - uses: actions/upload-artifact@v4 with: - name: joshnewans.joyPanel-0.0.1.foxe - path: joshnewans.joyPanel-0.0.1.foxe + name: joshnewans.joyPanel-${{ github.ref_name }}.foxe + path: joshnewans.joyPanel-${{ github.ref_name }}.foxe