Skip to content

Commit

Permalink
upgrade node in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmachuca committed Jan 13, 2025
1 parent 60c8867 commit 7cc3516
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/npmpublish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
with:
node-version: 16
node-version: 22
- run: npm config set legacy-peer-deps true=true
- run: npm ci
- run: npm test

Expand All @@ -28,10 +29,11 @@ jobs:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
with:
node-version: 16
node-version: 22
registry-url: https://registry.npmjs.org/
- name: Set up NPM authentication
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
- run: npm config set legacy-peer-deps true=true
- run: npm ci
- run: npm publish --tag ${GITHUB_REF##*/}
env:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/npmpublish-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
with:
node-version: 16
node-version: 22
- run: npm config set legacy-peer-deps true=true
- run: npm ci
- run: npm test

Expand All @@ -28,10 +29,11 @@ jobs:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
with:
node-version: 16
node-version: 22
registry-url: https://registry.npmjs.org/
- name: Set up NPM authentication
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
- run: npm config set legacy-peer-deps true=true
- run: npm ci
- run: npm publish --tag ${GITHUB_REF##*/}
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
with:
node-version: 20
node-version: 22
- run: npm config set legacy-peer-deps true=true
- run: npm ci
- run: npm test
Expand All @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
with:
node-version: 20
node-version: 22
registry-url: https://registry.npmjs.org/
- name: Set up NPM authentication
run: echo "registry=https://registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
Expand Down

0 comments on commit 7cc3516

Please sign in to comment.