mirror of
https://github.com/kennethnym/jrx.git
synced 2026-03-21 20:31:19 +00:00
Compare commits
4 Commits
bump-v0.2.
...
fix-publis
| Author | SHA1 | Date | |
|---|---|---|---|
| cd99b47ee1 | |||
| 3827ccff23 | |||
| 650e2141d8 | |||
| 2d75600913 |
11
.github/workflows/publish.yml
vendored
11
.github/workflows/publish.yml
vendored
@@ -4,6 +4,10 @@ on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
permissions:
|
||||
id-token: write # Required for OIDC
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -15,12 +19,17 @@ jobs:
|
||||
|
||||
- uses: oven-sh/setup-bun@v2
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '24'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- run: bun install
|
||||
|
||||
- run: bun run build
|
||||
|
||||
- run: bun test
|
||||
|
||||
- run: bun publish --access public --provenance
|
||||
- run: bunx npm publish --provenance --access public
|
||||
env:
|
||||
NPM_CONFIG_REGISTRY: https://registry.npmjs.org
|
||||
|
||||
Reference in New Issue
Block a user