File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+ on :
3+ push :
4+ branches : [main]
5+ paths-ignore :
6+ - ' **.md'
7+ pull_request :
8+ branches : [main]
9+ paths-ignore :
10+ - ' **.md'
11+
12+ jobs :
13+ test :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - uses : actions/setup-node@v4
19+ with :
20+ node-version : ' 18.x'
21+
22+ - uses : actions/cache@v4
23+ with :
24+ path : |
25+ ~/.npm
26+ ~/.config/yarn/global
27+ **/node_modules
28+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
29+ restore-keys : |
30+ ${{ runner.os }}-node-
31+
32+ - name : Install
33+ run : npm install
34+
35+ - name : Typescript
36+ run : npm run typescript
37+
38+ - name : ESLint
39+ run : npm run lint
40+
41+ - name : Run Tests
42+ run : npm run ci:test -- --passWithNoTests
43+
You can’t perform that action at this time.
0 commit comments