Skip to content

Commit 60b1107

Browse files
authored
Feature Running Action for CI/CD integration (#16)
Feature `Running Action` for CI/CD integration
2 parents 11fe16b + 02094ce commit 60b1107

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/running.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Running
2+
3+
on:
4+
pull_request:
5+
types: [synchronize, opened, reopened]
6+
push:
7+
branches: [main]
8+
workflow_dispatch:
9+
10+
jobs:
11+
install:
12+
name: Install and Running
13+
14+
runs-on: ubuntu-latest
15+
16+
strategy:
17+
matrix:
18+
node-version: [16.x, 18.x, 20.x]
19+
20+
steps:
21+
- uses: actions/checkout@v3
22+
23+
- name: Set up Chrome
24+
uses: browser-actions/setup-chrome@v1
25+
26+
- name: Install
27+
run: npm ci
28+
29+
- name: Running the program
30+
run: npm start

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
node-version: [16.x, 18.x, 20.x]
1919

2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222

2323
- name: Install
2424
run: npm ci

0 commit comments

Comments
 (0)