Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit a826769

Browse files
tongshstss
andauthored
feat: node version (#48)
Co-authored-by: tss <[email protected]>
1 parent 41fa1ec commit a826769

File tree

3 files changed

+26860
-5327
lines changed

3 files changed

+26860
-5327
lines changed

.github/workflows/frontend.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v2
2727
- uses: actions/setup-node@master
28+
with:
29+
node-version: 16
2830
- name: npm install
29-
run: cd frontend && npm install
31+
run: cd frontend && npm install --legacy-peer-deps
3032
- name: lint
3133
run: cd frontend && npm run lint
3234
- name: lint-css
@@ -37,8 +39,10 @@ jobs:
3739
steps:
3840
- uses: actions/checkout@v2
3941
- uses: actions/setup-node@master
42+
with:
43+
node-version: 16
4044
- name: npm install
41-
run: cd frontend && npm install
45+
run: cd frontend && npm install --legacy-peer-deps
4246
- name: test
4347
run: cd frontend && npm run test:unit
4448

@@ -47,7 +51,9 @@ jobs:
4751
steps:
4852
- uses: actions/checkout@v2
4953
- uses: actions/setup-node@master
54+
with:
55+
node-version: 16
5056
- name: npm install
51-
run: cd frontend && npm install
57+
run: cd frontend && npm install --legacy-peer-deps
5258
- name: Build
5359
run: cd frontend && npm run build

0 commit comments

Comments
 (0)