Skip to content

Commit

Permalink
Update workflows node version to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorflg committed Oct 24, 2024
1 parent 42d232f commit 5cbe802
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 20
- run: yarn install --ignore-scripts
- run: yarn run ci:prettier-check
- run: yarn run lint
Expand All @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: true
matrix:
node-version: [12]
node-version: [20]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
Expand All @@ -34,4 +34,4 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --ignore-scripts
- run: yarn run ci:test
- run: yarn run ci:test
8 changes: 4 additions & 4 deletions .github/workflows/publish-prerelease-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
node-version: 20
registry-url: https://registry.npmjs.org/
- run: yarn install --ignore-scripts
- run: yarn build
- run: npm publish --access=public --tag beta
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
IS_CI: "true"
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
IS_CI: 'true'
8 changes: 4 additions & 4 deletions .github/workflows/publish-stable-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
node-version: 20
registry-url: https://registry.npmjs.org/
- run: yarn install --ignore-scripts
- run: yarn build
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
IS_CI: "true"
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
IS_CI: 'true'

0 comments on commit 5cbe802

Please sign in to comment.