Skip to content

Commit

Permalink
Merge pull request #313 from Adyen/ci_release-nodeversion
Browse files Browse the repository at this point in the history
Fix Node version on Release workflow
  • Loading branch information
descorp authored Nov 15, 2023
2 parents 3e9d8e5 + 600f5e5 commit d514366
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
runs-on: ubuntu-latest
env:
VERSION: ${{ inputs.version == '' && github.ref_name || inputs.version }}
NODE-VERSION: 20
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
node-version: ${{ env.NODE-VERSION }}
- name: Update version in package.json
run: |
sed -i 's/"version":.*$/"version": "${{ env.VERSION }}",/g' package.json
Expand Down

0 comments on commit d514366

Please sign in to comment.