ci: specify the node version (#1694)
This commit is contained in:
parent
05e3689d17
commit
e09831ba3e
2 changed files with 4 additions and 0 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/style-lint.yml
vendored
2
.github/workflows/style-lint.yml
vendored
|
@ -17,5 +17,7 @@ jobs:
|
|||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: latest
|
||||
- run: npm i
|
||||
- run: npm test
|
||||
|
|
Loading…
Reference in a new issue