Skip to content

Commit

Permalink
ci: node-21
Browse files Browse the repository at this point in the history
  • Loading branch information
qq15725 committed May 27, 2024
1 parent b18cfa3 commit f2254de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
test:
timeout-minutes: 10
runs-on: ubuntu-latest
name: "Build&Test: node-18, ubuntu-latest"
name: "Build&Test: node-21, ubuntu-latest"
steps:
- name: ⤵️ Checkout
uses: actions/checkout@v3
Expand All @@ -48,11 +48,11 @@ jobs:
if: steps.changed-files.outputs.only_changed != 'true'
uses: pnpm/action-setup@v2.2.4

- name: 🎉 Set node version to 18
- name: 🎉 Set node version to 21
if: steps.changed-files.outputs.only_changed != 'true'
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 21
cache: "pnpm"

- name: 🚧 Install deps
Expand All @@ -70,18 +70,18 @@ jobs:
lint:
timeout-minutes: 10
runs-on: ubuntu-latest
name: "Lint: node-18, ubuntu-latest"
name: "Lint: node-21, ubuntu-latest"
steps:
- name: ⤵️ Checkout
uses: actions/checkout@v3

- name: 🎉 Install pnpm
uses: pnpm/action-setup@v2.2.4

- name: 🎉 Set node version to 18
- name: 🎉 Set node version to 21
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 21
cache: "pnpm"

- name: 🚧 Install deps
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: 🎉 Install pnpm
uses: pnpm/action-setup@v2.2.4

- name: 🎉 Set node version to 16.x
- name: 🎉 Set node version to 21.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 21.x
registry-url: https://registry.npmjs.org/
cache: "pnpm"

Expand Down

0 comments on commit f2254de

Please sign in to comment.