diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 9c03b81..e1321e1 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -87,9 +87,9 @@ jobs: path: version-${{ steps.extract-version.outputs.VERSION }}.txt retention-days: ${{ env.retention_days }} # Setup .npmrc file to publish to npm - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v6 with: - node-version: '16.x' + node-version: 16 registry-url: 'https://registry.npmjs.org' - run: npm ci - run: npm run build diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index aa7fea8..28710d8 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -90,9 +90,9 @@ jobs: name: version-info path: version-${{ steps.extract-version.outputs.VERSION }}.txt retention-days: ${{ env.retention_days }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v6 with: - node-version: current + node-version: 16 - run: npm ci - run: npm test - name: upload junit @@ -138,4 +138,4 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} merge-method: squash - pull-request-number: ${{ github.event.pull_request.number }} \ No newline at end of file + pull-request-number: ${{ github.event.pull_request.number }}