Skip to content

Commit 4128bd0

Browse files
committed
Update workflows combine both of files to test.yml
1 parent 874151b commit 4128bd0

File tree

2 files changed

+23
-32
lines changed

2 files changed

+23
-32
lines changed

.github/workflows/running.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Jest Test
1+
name: Initialize TLighthouse and Test using Jest
22

33
on:
44
pull_request:
@@ -24,4 +24,25 @@ jobs:
2424
run: npm ci
2525

2626
- name: Test with Jest
27-
run: npm test
27+
run: npm test
28+
29+
running:
30+
name: Install and Run
31+
32+
runs-on: ubuntu-latest
33+
34+
strategy:
35+
matrix:
36+
node-version: [16.x, 18.x, 20.x]
37+
38+
steps:
39+
- uses: actions/checkout@v3
40+
41+
- name: Set up Chrome
42+
uses: browser-actions/setup-chrome@v1
43+
44+
- name: Install
45+
run: npm ci
46+
47+
- name: Running the program
48+
run: npm start

0 commit comments

Comments
 (0)