Skip to content

Commit 9f169b0

Browse files
authored
Update test.yml
update test run with yarn
1 parent 4c8c33a commit 9f169b0

1 file changed

Lines changed: 6 additions & 16 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
33

4-
name: Node.js CI
4+
name: Run Tests
55

66
on:
77
push:
@@ -11,20 +11,10 @@ on:
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
16-
17-
strategy:
18-
matrix:
19-
node-version: [12.x, 14.x, 16.x]
20-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21-
2215
steps:
23-
- uses: actions/checkout@v3
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
29-
- run: npm ci
30-
- run: npm test
16+
- uses: actions/checkout@v2
17+
- name: Install modules
18+
run: yarn
19+
- name: Run tests
20+
run: yarn test

0 commit comments

Comments
 (0)