File tree Expand file tree Collapse file tree 3 files changed +67
-0
lines changed Expand file tree Collapse file tree 3 files changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint & Type Check
2
+ on : push
3
+ jobs :
4
+ test :
5
+ timeout-minutes : 60
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v4
9
+ - uses : actions/setup-node@v4
10
+ with :
11
+ node-version : lts/*
12
+ - name : Install dependencies
13
+ run : npm ci
14
+ - name : Run eslint
15
+ run : npm run lint
16
+ - name : Run typecheck
17
+ run : npm run typecheck
Original file line number Diff line number Diff line change
1
+ name : Playwright Tests
2
+ on : push
3
+ jobs :
4
+ test :
5
+ strategy :
6
+ fail-fast : false
7
+ matrix :
8
+ os : [macos-13, windows-2022, ubuntu-22.04]
9
+ node : [18, 20, 21, 22]
10
+ runs-on : ${{ matrix.os }}
11
+ timeout-minutes : 60
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - uses : actions/setup-node@v4
15
+ with :
16
+ node-version : ${{ matrix.node }}
17
+ - name : Install dependencies
18
+ run : npm ci
19
+ - name : Install Playwright Browsers
20
+ run : npx playwright install --with-deps
21
+ - name : Run Playwright tests
22
+ run : npx playwright test
23
+ - uses : actions/upload-artifact@v4
24
+ if : always()
25
+ with :
26
+ name : playwright-report-${{ matrix.os }}-node_${{ matrix.node}}
27
+ path : playwright-report/
28
+ retention-days : 30
Original file line number Diff line number Diff line change
1
+ name : Vitest workers-library
2
+ on : push
3
+ jobs :
4
+ test :
5
+ strategy :
6
+ fail-fast : false
7
+ matrix :
8
+ os : [macos-13, windows-2022, ubuntu-22.04]
9
+ node : [18, 20, 21, 22]
10
+ runs-on : ${{ matrix.os }}
11
+ timeout-minutes : 60
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ - uses : actions/setup-node@v4
15
+ with :
16
+ node-version : ${{ matrix.node }}
17
+ - name : Install dependencies
18
+ run : npm ci
19
+ - name : build app
20
+ run : npm run build
21
+ - name : Run Vitest
22
+ run : npm run test
You can’t perform that action at this time.
0 commit comments