File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Playground Test
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - name : Install Node.js
15+ uses : actions/setup-node@v4
16+ with :
17+ node-version : 20
18+
19+ - name : Cache dependencies
20+ uses : actions/cache@v4
21+ with :
22+ path : ./node_modules
23+ key : depends-${{ hashFiles('yarn.lock') }}
24+
25+ - name : Playground Building Test
26+ run : yarn build
27+
28+ lint :
29+ runs-on : ubuntu-latest
30+ steps :
31+ - uses : actions/checkout@v4
32+
33+ - name : Install Node.js
34+ uses : actions/setup-node@v4
35+ with :
36+ node-version : 20
37+
38+ - name : Cache dependencies
39+ uses : actions/cache@v4
40+ with :
41+ path : ./node_modules
42+ key : depends-${{ hashFiles('yarn.lock') }}
43+
44+ - name : Install root dependencies
45+ run : yarn install --frozen-lockfile
46+
47+ - name : Playground Lint
48+ run : yarn lint
You can’t perform that action at this time.
0 commit comments