Skip to content

Commit

Permalink
[CI] don't format on yarn build; do it before release
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Oct 16, 2024
1 parent 5b52620 commit 49bb77c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/node-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ jobs:
- name: List packages
run: ls -R ./bindings/node/npm
shell: bash
- run: yarn format
- name: Publish
run: |
npm config set provenance true
Expand Down
4 changes: 2 additions & 2 deletions bindings/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --release --pipe 'yarn run prettier --write'",
"build:debug": "napi build --platform --pipe 'yarn run prettier --write'",
"build": "napi build --platform --release",
"build:debug": "napi build --platform",
"prepublishOnly": "napi prepublish -t npm",
"universal": "napi universal",
"version": "napi version"
Expand Down

0 comments on commit 49bb77c

Please sign in to comment.