Skip to content

Commit add8ee1

Browse files
committed
[CI] Modernize Github workflow
1 parent e53bb80 commit add8ee1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ jobs:
1313
os: [ubuntu-latest, windows-latest, macOS-latest]
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- name: Use Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v1
18+
uses: actions/setup-node@v4
1919
with:
2020
node-version: ${{ matrix.node-version }}
21+
cache: 'npm'
2122
- name: Install dependencies
22-
run: yarn install --ignore-engines --verbose
23+
run: npm ci
2324
- name: Run tests
24-
run: yarn test
25+
run: npm test
2526
env:
2627
CI: true

0 commit comments

Comments
 (0)