Skip to content

Commit d614107

Browse files
committed
Updated tagged release workflow
1 parent 49f1464 commit d614107

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

.github/workflows/tagged_release.yaml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
test:
99
strategy:
1010
matrix:
11-
os: [ubuntu-latest, windows-latest, macos-latest]
12-
node: [18]
11+
os: [ ubuntu-latest, windows-latest, macos-latest ]
12+
node: [ 18 ]
1313
runs-on: ${{matrix.os}}
1414
steps:
1515
- name: Set up Git repository
@@ -23,21 +23,15 @@ jobs:
2323
- name: Setup pnpm
2424
uses: pnpm/[email protected]
2525
- name: Install
26-
run: npm ci
26+
run: |
27+
pnpm whoami
28+
pnpm i
2729
- name: Compile
2830
run: npm run compile
29-
- name: Init window e2e test subpackage
30-
run: npm --prefix e2e/window-test ci
31-
- name: Generate coverage report
31+
- name: Run tests
3232
uses: GabrielBB/xvfb-action@v1
3333
with:
34-
run: |
35-
npx playwright install --with-deps
36-
npm test
37-
- name: Run Electron e2e test subpackage
38-
uses: GabrielBB/xvfb-action@v1
39-
with:
40-
run: npm --prefix e2e/electron-test cit
34+
run: pnpm run coverage
4135

4236
deploy:
4337
needs:
@@ -55,15 +49,17 @@ jobs:
5549
- name: Setup pnpm
5650
uses: pnpm/[email protected]
5751
- name: Install
58-
run: npm ci
52+
run: |
53+
pnpm whoami
54+
pnpm i
5955
- name: Run typedoc
60-
run: npm run typedoc
56+
run: pnpm --filter @nut-tree/nut-js run typedoc
6157
- name: Publish typedocs to GitHub Pages
6258
uses: peaceiris/[email protected]
6359
with:
6460
deploy_key: ${{ secrets.API_DOC_DEPLOY_KEY }}
6561
external_repository: nut-tree/apidoc
66-
publish_dir: ./docs
62+
publish_dir: ./core/nut.js/docs
6763
- name: Publish tagged release to npm
6864
run: npm publish
6965
env:

0 commit comments

Comments
 (0)