Skip to content

Commit 3756d8d

Browse files
fix: use yarn instead of npm on GitHub Action
1 parent 9a098d5 commit 3756d8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/node.js.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [12.x, 14.x]
19+
node-version: [14.x]
2020

2121
steps:
2222
- uses: actions/checkout@v2
2323
- name: Use Node.js ${{ matrix.node-version }}
2424
uses: actions/setup-node@v1
2525
with:
2626
node-version: ${{ matrix.node-version }}
27-
- run: npm ci
28-
- run: npm test
29-
- run: npm run build --if-present
27+
- run: yarn install --frozen-lockfile
28+
- run: yarn test
29+
- run: yarn build

0 commit comments

Comments
 (0)