File tree Expand file tree Collapse file tree 1 file changed +32
-17
lines changed Expand file tree Collapse file tree 1 file changed +32
-17
lines changed Original file line number Diff line number Diff line change 1
- name : Code Check
2
-
3
1
on :
4
- push :
5
- branches :
6
- - main
7
- pull_request :
8
- branches :
9
- - main
2
+ - push
3
+ - pull_request
4
+
5
+ permissions : read-all
10
6
11
7
jobs :
12
- check :
13
- runs-on : ubuntu-22.04
8
+ ci :
9
+ runs-on : ubuntu-latest
14
10
steps :
15
- - uses : actions/checkout@v3
16
- - uses : actions/setup-node@v3
11
+ - name : Checkout
12
+ uses : actions/checkout@v3
13
+
14
+ - name : Launch Turbo Remote Cache Server
15
+ uses : dtinth/setup-github-actions-caching-for-turbo@v1.1.0
16
+
17
+ - name : Install npm
18
+ uses : npm/action-setup@v2
19
+ with :
20
+ version : 8
21
+
22
+ - name : Install Node.js
23
+ uses : actions/setup-node@v3
17
24
with :
18
- node-version : " 20 "
25
+ node-version : 18
19
26
cache : " npm"
20
- - run : npm ci
21
- - run : npm run format:check
22
- - run : npm run lint
23
- - run : npm run test
27
+
28
+ - name : Install dependencies
29
+ run : npm i
30
+
31
+ - name : Format Check
32
+ run : npm run format:check
33
+
34
+ - name : Lint
35
+ run : npm run lint
36
+
37
+ - name : Test
38
+ run : npm run test
You can’t perform that action at this time.
0 commit comments