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

Commit 4a6b460

Browse files
committed
fix: CI use yarn instead of npm
1 parent 25ec4af commit 4a6b460

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,13 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212

13-
strategy:
14-
matrix:
15-
node-version: [16.x]
16-
1713
steps:
1814
- uses: actions/checkout@v2
19-
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v2
15+
- uses: actions/setup-node@v2
2116
with:
22-
node-version: ${{ matrix.node-version }}
17+
node-version: "16"
18+
cache: "yarn"
2319
- name: Install dependencies
24-
run: npm install
20+
run: yarn install
2521
- name: Run test:examples
26-
run: npm run test:examples
22+
run: yarn run test:examples

0 commit comments

Comments
 (0)