File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [ push, pull_request ]
4+
5+ jobs :
6+ setup :
7+ runs-on : ubuntu-22.04
8+ steps :
9+ - uses : actions/checkout@v4
10+
11+ - uses : actions/cache@v4
12+ id : yarn-cache
13+ with :
14+ path : node_modules
15+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
16+
17+ - name : Install dependencies
18+ run : yarn install
19+
20+ lint :
21+ runs-on : ubuntu-22.04
22+ needs : setup
23+ steps :
24+ - uses : actions/checkout@v4
25+ - uses : actions/cache@v4
26+ id : yarn-cache
27+ with :
28+ path : node_modules
29+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
30+ - name : Run lint test
31+ run : yarn lint
32+
33+ test-publish :
34+ runs-on : ubuntu-22.04
35+ needs : setup
36+ steps :
37+ - uses : actions/checkout@v3
38+ - uses : actions/cache@v4
39+ id : yarn-cache
40+ with :
41+ path : node_modules
42+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
43+ - name : Run publish test
44+ run : yarn test-publish
45+
You can’t perform that action at this time.
0 commit comments