Skip to content

Commit 435e62e

Browse files
authored
Merge pull request #7 from Frontify/ci/use-nvmrc-node-for-publishing
Use nvmrc node version for GitHub registry as well.
2 parents 8fe9739 + 90a941a commit 435e62e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/continuous-deployment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ jobs:
7272
env:
7373
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7474

75-
- name: Use Node.js 16 (GitHub repository)
76-
uses: actions/setup-node@v2
75+
- name: Use Node.js (GitHub repository)
76+
uses: actions/setup-node@v4
7777
with:
78+
node-version-file: '.nvmrc'
7879
registry-url: 'https://npm.pkg.github.com'
79-
node-version: 16
8080

8181
- name: Publish to GitHub Packages
8282
run: npm publish --access public

0 commit comments

Comments
 (0)