File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed
Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.head_ref || github.ref }}
8+ cancel-in-progress : true
9+
10+ jobs :
11+ test :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+
17+ - name : Setup Node
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version-file : .nvmrc
21+ cache : npm
22+
23+ - name : Install Dependencies
24+ run : npm ci
25+
26+ - name : Build
27+ run : npm run build
28+
29+ - name : Lint
30+ run : npm run lint
31+
32+ - name : Test
33+ env :
34+ TB_KEY : ${{ secrets.TB_KEY }}
35+ TB_SECRET : ${{ secrets.TB_SECRET }}
36+ run : |
37+ npm run link
38+ npm run test
Original file line number Diff line number Diff line change 1+ npx pretty-quick --staged
2+ npm run lint
Original file line number Diff line number Diff line change 1+ v20
You can’t perform that action at this time.
0 commit comments