File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 6
6
on :
7
7
# Triggers the workflow on push or pull request events but only for the master branch
8
8
push :
9
- branches : [ master ]
9
+ branches : [dev ]
10
10
pull_request :
11
- branches : [ master ]
11
+ branches : [dev ]
12
12
13
13
# Allows you to run this workflow manually from the Actions tab
14
14
workflow_dispatch :
@@ -23,11 +23,15 @@ jobs:
23
23
# Steps represent a sequence of tasks that will be executed as part of the job
24
24
steps :
25
25
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26
- - uses : actions/checkout@v2
26
+ - uses : actions/checkout@v3
27
+ with :
28
+ node-version : 18.13.0
27
29
28
30
# Runs a single command using the runners shell
29
- - name : Run a one-line script
30
- run : echo Hello, world!
31
+ - name : Install dependencies
32
+ run : npm install
33
+ - name : Run all tests
34
+ run : npm run test --bail
31
35
32
36
# Runs a set of commands using the runners shell
33
37
- name : Run a multi-line script
Original file line number Diff line number Diff line change 249
249
" js"
250
250
],
251
251
"modulePathIgnorePatterns" : [
252
- " __tests__/playwright"
252
+ " __tests__/playwright" ,
253
+ " __tests__/spec.ts" ,
254
+ " __tests__/userAuth.test.ts"
253
255
],
254
256
"transform" : {
255
257
"\\ .(ts|tsx)$" : " ts-jest" ,
You can’t perform that action at this time.
0 commit comments