Skip to content

Commit

Permalink
chore: update Node.js version and add npm install command in workflows
Browse files Browse the repository at this point in the history
- Increase the Node.js version from '18' to '20' in the test.yml workflow
- Add npm install command in the client task in Taskfile.yml

Signed-off-by: ysicing <i@ysicing.me>
  • Loading branch information
ysicing committed Mar 25, 2024
1 parent afcf7fb commit d09076f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -37,7 +37,7 @@ jobs:
check-latest: true
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
- name: install global dependencies
run: |
npm install -g yarn
Expand Down
1 change: 1 addition & 0 deletions Taskfile.yml
Expand Up @@ -68,6 +68,7 @@ tasks:
run: once
dir: client
cmds:
- npm install
- npm run package-{{.GOOS}}-{{.GOARCH}}

build_cli:
Expand Down

0 comments on commit d09076f

Please sign in to comment.