publish alpha

This commit is contained in:
DecDuck
2024-10-07 13:50:40 +11:00
parent cbe7710a87
commit 1aded6e7ab
2 changed files with 3 additions and 2 deletions

View File

@ -38,4 +38,5 @@ publish:
- echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc - echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
- yarn - yarn
- yarn artifacts - yarn artifacts
- ls -R ./npm - ls -R ./npm
- npm publish

View File

@ -19,7 +19,7 @@
"node": ">= 10" "node": ">= 10"
}, },
"scripts": { "scripts": {
"artifacts": "napi artifacts", "artifacts": "napi artifacts -d .",
"build": "napi build --platform --release", "build": "napi build --platform --release",
"build:debug": "napi build --platform", "build:debug": "napi build --platform",
"prepublishOnly": "napi prepublish -t npm", "prepublishOnly": "napi prepublish -t npm",