Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelDarley committed Jun 25, 2024
1 parent 07425f8 commit 8a3bca3
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,40 @@ jobs:
name: bindings-universal-apple-darwin
path: ${{ env.APP_NAME }}.*.node
if-no-files-found: error
publish-dry-run:
if: ${{github.event_name != 'release'}}
name: Publish
runs-on: ubuntu-latest
needs:
# - build-freebsd
- test-macOS-windows-binding
- test-linux-x64-gnu-binding
- test-linux-x64-musl-binding
- test-linux-aarch64-gnu-binding
- test-linux-aarch64-musl-binding
# - test-linux-arm-gnueabihf-binding
- universal-macOS
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: yarn
- name: Install dependencies
run: yarn install
- name: Download all artifacts
uses: actions/download-artifact@v3
with:
path: artifacts
- name: Move artifacts
run: yarn artifacts
- name: Fix npm dirs
run: yarn napi create-npm-dir -t .
- name: List packages
run: ls -R ./npm
shell: bash
publish:
if: ${{github.event_name == 'release'}}
name: Publish
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"scripts": {
"artifacts": "node move_artifacts.js",
"build": "napi build --platform --release && bash ./fix-deps.sh && yarn ts-compile",
"build": "napi build --platform --release && bash ./fix-deps.sh && pwd && ls && yarn ts-compile",
"build:debug": "napi build --platform && bash ./fix-deps.sh && yarn ts-compile",
"prepublishOnly": "napi prepublish -t npm",
"test": "ava",
Expand Down

0 comments on commit 8a3bca3

Please sign in to comment.