Skip to content

Commit 32ffa7f

Browse files
committed
ci(ci.yml): set version v3 to actions/checkout
1 parent a93bd96 commit 32ffa7f

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/ci.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
name: CI
2-
3-
on:
4-
pull_request:
5-
push:
6-
2+
"on":
3+
pull_request: null
4+
push: null
75
jobs:
8-
96
build:
107
runs-on: ${{ matrix.os }}
118
strategy:
@@ -16,25 +13,23 @@ jobs:
1613
- 14
1714
- 16
1815
- 17
19-
os: [ubuntu-latest, macos-latest, windows-latest]
20-
16+
os:
17+
- ubuntu-latest
18+
- macos-latest
19+
- windows-latest
2120
steps:
2221
- name: 🛑 Cancel Previous Runs
2322
uses: styfle/[email protected]
2423
with:
2524
access_token: ${{ secrets.GITHUB_TOKEN }}
26-
2725
- name: ⬇️ Checkout
28-
uses: actions/checkout@v2
29-
26+
uses: actions/checkout@v3
3027
- name: ⎔ Setup node ${{ matrix.node }}
3128
uses: actions/setup-node@v2
3229
with:
3330
node-version: ${{ matrix.node }}
3431
cache: npm
35-
3632
- name: 📥 Download deps
3733
run: npm ci
38-
3934
- name: Test
4035
run: npm test

0 commit comments

Comments
 (0)