File tree Expand file tree Collapse file tree 1 file changed +23
-19
lines changed Expand file tree Collapse file tree 1 file changed +23
-19
lines changed Original file line number Diff line number Diff line change 5
5
types : [synchronize, opened, reopened]
6
6
push :
7
7
branches : [main, development, dev-workflows]
8
- workflow_dispatch :
9
8
10
9
jobs :
11
- install :
10
+ install-ubuntu :
12
11
name : Install and Test
13
- concurrency : staging_environment
14
-
15
12
runs-on : ubuntu-latest
16
13
17
- strategy :
18
- matrix :
19
- node-version : [20.x]
20
-
21
14
steps :
22
15
- uses : actions/checkout@v3
23
16
@@ -26,25 +19,36 @@ jobs:
26
19
27
20
- name : Test with Jest
28
21
run : npm test
29
-
30
- running :
31
- name : Install and Run
32
- concurrency : staging_environment
33
22
23
+ test-ubuntu :
24
+ name : Test
25
+ needs : install-ubuntu
34
26
runs-on : ubuntu-latest
35
27
36
- strategy :
37
- matrix :
38
- node-version : [20.x]
28
+ steps :
29
+ - name : Check out code
30
+ uses : actions/checkout@v3
31
+
32
+ - name : Install Dependencies
33
+ run : npm ci
34
+
35
+ - name : Testing with Jest
36
+ run : npm test
37
+
38
+ running-ubuntu :
39
+ name : Run
40
+ needs : test-ubuntu
41
+ runs-on : ubuntu-latest
39
42
40
43
steps :
41
- - uses : actions/checkout@v3
44
+ - name : Check out code
45
+ uses : actions/checkout@v3
46
+
47
+ - name : Install Dependencies
48
+ run : npm ci
42
49
43
50
- name : Set up Chrome
44
51
uses : browser-actions/setup-chrome@v1
45
-
46
- - name : Install
47
- run : npm ci
48
52
49
53
- name : Running the program
50
54
run : npm start
You can’t perform that action at this time.
0 commit comments