mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-25 03:33:36 +03:00
ci: publish cli.js *.node
modules to the existing cli.js release (#4883)
This commit is contained in:
parent
08584fc657
commit
5813f08386
@ -171,6 +171,7 @@ jobs:
|
||||
token: ${{ secrets.TAURI_BOT_PAT }}
|
||||
repository: tauri-apps/tauri
|
||||
event-type: publish-clijs
|
||||
client-payload: '{"releaseId": "${{ steps.covector.outputs.cli.js-releaseId }}" }'
|
||||
|
||||
- name: Trigger cli.rs publishing workflow
|
||||
if: |
|
||||
|
1
.github/workflows/publish-cli-js.yml
vendored
1
.github/workflows/publish-cli-js.yml
vendored
@ -397,3 +397,4 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
RELEASE_ID: ${{ github.event.client_payload.releaseId }}
|
||||
|
@ -37,7 +37,7 @@
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@napi-rs/cli": "2.10.3",
|
||||
"@napi-rs/cli": "2.11.0",
|
||||
"cross-env": "7.0.3",
|
||||
"cross-spawn": "7.0.3",
|
||||
"fs-extra": "10.1.0",
|
||||
@ -55,7 +55,7 @@
|
||||
"artifacts": "napi artifacts",
|
||||
"build:release": "cross-env TARGET=node napi build --platform --release",
|
||||
"build": "cross-env TARGET=node napi build --platform",
|
||||
"prepublishOnly": "napi prepublish -t npm",
|
||||
"prepublishOnly": "napi prepublish -t npm --gh-release-id $RELEASE_ID",
|
||||
"prepack": "cp ../schema.json .",
|
||||
"test": "jest --runInBand --forceExit --no-cache",
|
||||
"version": "napi version",
|
||||
|
Loading…
Reference in New Issue
Block a user