Skip to content

Commit 343ae35

Browse files
committed
update test.yml with node 20
1 parent 5a3359b commit 343ae35

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,29 @@
1-
name: Workflow Test
1+
name: Workflow Test
22

33
on: push
44

5-
65
jobs:
76
node_tests:
87
runs-on: ubuntu-latest
98
strategy:
109
matrix:
11-
node: ['16']
10+
node: ['20']
1211
steps:
13-
- uses: actions/checkout@v2
14-
- name: Setup
15-
uses: actions/setup-node@v2
16-
with:
17-
node-version: ${{ matrix.node }}
18-
- name: Create NYC folder
19-
run: mkdir .nyc_output
20-
- name: Install Dependencies
21-
run: npm install
22-
- name: Run tests
23-
run: npm run test
12+
- uses: actions/checkout@v2
13+
- name: Setup
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: ${{ matrix.node }}
17+
- name: Create NYC folder
18+
run: mkdir .nyc_output
19+
- name: Install Dependencies
20+
run: npm install
21+
- name: Run tests
22+
run: npm run test
2423
# - name: Coverage
2524
# run: npm run test-lcov
2625
# - name: Coveralls
2726
# uses: coverallsapp/github-action@master
2827
# with:
2928
# github-token: ${{ secrets.GITHUB_TOKEN }}
30-
# path-to-lcov: ./coverage/lcov.info
29+
# path-to-lcov: ./coverage/lcov.info

0 commit comments

Comments
 (0)