File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Lint & Typecheck
2+ on : [push, pull_request]
3+ jobs :
4+ lint :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v4
8+ - uses : actions/setup-node@v4
9+ with :
10+ node-version : 20
11+ - run : npm ci
12+ - run : npm run lint
13+ - run : npm run typecheck
Original file line number Diff line number Diff line change 1+ name : Tests
2+ on : [push, pull_request]
3+ jobs :
4+ test :
5+ runs-on : ubuntu-latest
6+ strategy :
7+ matrix :
8+ node-version : [18, 20, 22]
9+ steps :
10+ - uses : actions/checkout@v4
11+ - uses : actions/setup-node@v4
12+ with :
13+ node-version : ${{ matrix.node-version }}
14+ - run : npm ci
15+ - name : Setup git
16+ run : |
17+ git config --global user.name "GitHub Actions"
18+ git config --global user.email "<>"
19+ - run : npm test
You can’t perform that action at this time.
0 commit comments