File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : sh-test
2
+ on :
3
+ push :
4
+ workflow_dispatch :
5
+ jobs :
6
+ lint :
7
+ name : Lint
8
+ runs-on : self-hosted
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+ - name : Install
12
+ uses : ' ./.github/actions/cached-npm-install'
13
+ - name : Run linter
14
+ run : npm run lint
15
+ specs :
16
+ name : Unit tests
17
+ runs-on : self-hosted
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ - name : Install
21
+ uses : ' ./.github/actions/cached-npm-install'
22
+ - name : Run unit tests
23
+ run : npm test
24
+ env :
25
+ CI : true
26
+ e2e :
27
+ name : End-to-end tests
28
+ runs-on : self-hosted
29
+ steps :
30
+ - uses : actions/checkout@v4
31
+ - name : Install
32
+ uses : ' ./.github/actions/cached-npm-install'
33
+ - name : Run e2e tests
34
+ continue-on-error : false
35
+ run : |
36
+ npx playwright test -c e2e/e2e.config.ts
37
+ env :
38
+ CI : true
39
+ build :
40
+ name : Build
41
+ runs-on : self-hosted
42
+ steps :
43
+ - uses : actions/checkout@v4
44
+ - name : Install
45
+ uses : ' ./.github/actions/cached-npm-install'
46
+ - name : Build package
47
+ run : npm run build:pkg
You can’t perform that action at this time.
0 commit comments