Skip to content

Commit

Permalink
chore(ci): explicit node version (20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pkmmte committed May 30, 2024
1 parent 405e238 commit a537be1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,11 @@ jobs:
with:
version: 8.6.11

- name: Read Node.js version to install from `.nvmrc`
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm

- name: Install required Node.js version
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: PNPM install
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,11 @@ jobs:
with:
version: 8.6.11

- name: Read Node.js version to install from `.nvmrc`
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm

- name: Install required Node.js version
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version: 20
registry-url: 'https://registry.npmjs.org'

# https://github.com/pnpm/pnpm/issues/1801
Expand Down

0 comments on commit a537be1

Please sign in to comment.