Skip to content

Commit 7cd8f16

Browse files
authored
build: use node v16(lts) to run the tests (#232)
1 parent 181627a commit 7cd8f16

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v2
3333
- uses: actions/setup-node@v2
34+
with:
35+
node-version: "16.x"
3436
- run: npm install
3537
- run: npm run lint
3638

@@ -39,6 +41,8 @@ jobs:
3941
steps:
4042
- uses: actions/checkout@v2
4143
- uses: actions/setup-node@v2
44+
with:
45+
node-version: "16.x"
4246
- run: npm install
4347
- run: npm install --save-dev eslint@6
4448
- run: npm test
@@ -48,6 +52,8 @@ jobs:
4852
steps:
4953
- uses: actions/checkout@v2
5054
- uses: actions/setup-node@v2
55+
with:
56+
node-version: "16.x"
5157
- run: npm install
5258
- run: npm install --save-dev eslint@7
5359
- run: npm test

0 commit comments

Comments
 (0)