Skip to content

Commit

Permalink
chore: use Node.js v20
Browse files Browse the repository at this point in the history
Seems the tsx version we used here doesn't work on
Node.js 18 anymore
  • Loading branch information
haoqunjiang committed Mar 28, 2024
1 parent 9549245 commit 5178568
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.20.0
node-version: 20.12.0
- run: corepack enable
- run: pnpm --version
- uses: actions/setup-node@v4
with:
node-version: 18.20.0
node-version: 20.12.0
cache: "pnpm"
cache-dependency-path: "**/pnpm-lock.yaml"
- name: install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.20.0
node-version: 20.12.0
- run: corepack enable
- run: pnpm --version
- run: pnpm i --frozen-lockfile
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.20.0
node-version: 20.12.0
- run: corepack enable
- run: pnpm --version
- run: pnpm i --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ecosystem-ci-selected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.20.0
node-version: 20.12.0
id: setup-node
- run: corepack enable
- run: pnpm --version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ecosystem-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.20.0
node-version: 20.12.0
id: setup-node
- run: corepack enable
- run: pnpm --version
Expand Down

0 comments on commit 5178568

Please sign in to comment.