Skip to content

Commit 6a4562b

Browse files
committed
Setup CI
1 parent 94f2af9 commit 6a4562b

6 files changed

+25
-44
lines changed
File renamed without changes.

extension-manifest-v2/.github/workflows/LintAndTest.yml .github/workflows/test-extension-manifest-v2.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1-
name: Lint & Test
1+
name: Test Extenision Manifest V2
22

33
on:
4+
push:
5+
branches: [main]
46
pull_request:
5-
types: [opened, synchronize, reopened, ready_for_review]
6-
branches:
7-
- master
8-
- develop
7+
branches: [main]
98

109
jobs:
11-
lint-and-test:
12-
runs-on: ubuntu-20.04
10+
test-mv2:
11+
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: extension-manifest-v2
1315
steps:
1416
- uses: actions/checkout@v2
1517
- uses: actions/setup-node@v2
1618
with:
1719
cache: 'npm'
1820
node-version: '18'
21+
cache-dependency-path: ./extension-manifest-v2/package-lock.json
1922
- name: Install Dependencies
2023
run: |
2124
npm ci
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Tests
1+
name: Test Extenision Manifest V3
22

33
on:
44
push:
@@ -7,14 +7,17 @@ on:
77
branches: [main]
88

99
jobs:
10-
test:
10+
test-mv3:
1111
runs-on: ubuntu-latest
12-
12+
defaults:
13+
run:
14+
working-directory: extension-manifest-v3
1315
steps:
1416
- uses: actions/checkout@v2
1517
- uses: actions/setup-node@v2
1618
with:
17-
node-version: '16'
19+
node-version: '18'
1820
cache: 'npm'
21+
cache-dependency-path: ./extension-manifest-v3/package-lock.json
1922
- run: npm ci --ignore-scripts
2023
- run: npm test
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
1-
name: Tests
1+
name: Test UI
22

33
on:
4+
push:
5+
branches: [main]
46
pull_request:
57
branches: [main]
68

79
jobs:
8-
test:
10+
test-ui:
911
runs-on: ubuntu-latest
10-
12+
defaults:
13+
run:
14+
working-directory: ui
1115
steps:
1216
- uses: actions/checkout@v2
1317
- uses: actions/setup-node@v2
1418
with:
1519
node-version: '18'
1620
cache: 'npm'
21+
cache-dependency-path: ./ui/package-lock.json
1722
- run: npm ci
1823
- run: npm run lint

ui/.github/workflows/release.yml

-30
This file was deleted.

0 commit comments

Comments
 (0)