Fix launch readiness automation

This commit is contained in:
morluto
2026-07-12 10:26:13 +08:00
parent 4dec415fc8
commit 6e1d9a53e0
6 changed files with 22 additions and 14 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ jobs:
node-version: 22
cache: npm
- run: npm ci
- run: npx vitest run --reporter=verbose --reporter=junit --outputFile.junit=test-results.xml
- run: npm test -- --reporter=verbose --reporter=junit --outputFile.junit=test-results.xml
- uses: actions/upload-artifact@v4
if: always()
with:
+5 -7
View File
@@ -28,12 +28,12 @@ jobs:
if: needs.release-please.outputs.release_created == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
node-version: 24
package-manager-cache: false
registry-url: https://registry.npmjs.org
- run: npm ci
@@ -42,6 +42,4 @@ jobs:
run: npm run build
- name: Publish
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --access public