0.3.0
Publish npm package / publish (push) Canceled after 0s

This commit is contained in:
2026-10-07 15:30:39 +02:00
parent 452d872954
commit ed5a666ad3
11 changed files with 148 additions and 19 deletions
+9 -2
View File
@@ -21,6 +21,10 @@ jobs:
node-version: 24
registry-url: "https://registry.npmjs.org"
# Stage-only tokens require `npm stage publish` (npm >= 11.15.0).
- name: Update npm
run: npm install -g npm@^11.15.0
- name: Install dependencies
run: bun install --frozen-lockfile
@@ -30,10 +34,13 @@ jobs:
TAG_NAME="${GITHUB_REF_NAME:-${GITHUB_REF#refs/tags/}}"
test "$PACKAGE_VERSION" = "$TAG_NAME"
- name: Test
run: bun test
- name: Build
run: bun run build
- name: Publish
run: npm publish --access public
- name: Stage publish
run: npm stage publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}