ci: specify the node version (#1694)

This commit is contained in:
Cotes Chung 2024-04-21 01:17:35 +08:00 committed by GitHub
parent 05e3689d17
commit e09831ba3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -34,6 +34,8 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: latest
- name: Build Assets
run: npm i && npm run build

View file

@ -17,5 +17,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: latest
- run: npm i
- run: npm test