Skip to content

Commit

Permalink
Update node version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stormwarning committed Nov 14, 2023
1 parent 5a5c76b commit 5209361
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['18.x']
node: ['20.x']

steps:
# https://github.com/actions/checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
version: 8

# https://github.com/actions/setup-node
- name: Setup Node.js 16.x
- name: Setup Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: pnpm

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"src"
],
"scripts": {
"build": "esbuild src/cli.js --bundle --platform=node --outdir=dist --external:sade",
"old-build": "esbuild src/cli.js --bundle --platform=node --outdir=dist --external:sade",
"test": "ava"
},
"dependencies": {
Expand Down

0 comments on commit 5209361

Please sign in to comment.