mirror of
https://github.com/kennethnym/jrx.git
synced 2026-03-20 11:51:17 +00:00
Compare commits
4 Commits
fix-publis
...
4c396d9f60
| Author | SHA1 | Date | |
|---|---|---|---|
| 4c396d9f60 | |||
| 8680ef66c8 | |||
| 3827ccff23 | |||
| 650e2141d8 |
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
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
"access": "public"
|
||||
},
|
||||
"description": "JSX factory for json-render. Write JSX, get Spec JSON.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/kennethnym/jrx"
|
||||
},
|
||||
"type": "module",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user