File tree Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments