Skip to content

Commit 6fdcb28

Browse files
authored
Merge pull request #6 from zhensherlock/dev
Dev
2 parents e5687bb + 829eb94 commit 6fdcb28

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed

.github/workflows/build.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
if: github.repository == 'zhensherlock/vue-devtools-unlocker'
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
18+
- name: Install Node
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 20
22+
cache: npm
23+
24+
- name: Install Package
25+
run: npm ci
26+
27+
- name: Build Package
28+
run: npm run build
29+
30+
# - name: Test Package
31+
# run: npm run test
32+
33+
# - name: Upload coverage reports to Codecov
34+
# uses: codecov/codecov-action@v5
35+
# with:
36+
# verbose: true
37+
# env:
38+
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/pr-build.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: PR Build
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- dev
8+
9+
jobs:
10+
build:
11+
if: github.repository == 'zhensherlock/vue-devtools-unlocker'
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Install Node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 20
23+
cache: npm
24+
25+
- name: Install Package
26+
run: npm ci
27+
28+
- name: Build Package
29+
run: npm run build
30+
31+
# - name: Test Package
32+
# run: npm run test
33+
34+
- name: Pack Extension
35+
run: npm run pack

0 commit comments

Comments
 (0)