Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousme committed Feb 8, 2025
1 parent 1d13676 commit 9f3dafd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/npm-jsr--publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run build
- run: npm run test
- run: npm run format
- run: npx jsr publish
- run: npm publish --provenance --access public
env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "node --experimental-strip-types --test --test-skip-pattern='/^Deno/'",
"prebuild": "rm -rf dist",
"build": "npx -p typescript tsc --build",
"postbuild": "deno fmt",
"format": "deno fmt",
"preversion": "npm run test",
"version": "npm run build",
"postversion": "jq '( { name:.name , version:.version, license:.license } + .deno)' package.json > deno.json"
Expand Down

0 comments on commit 9f3dafd

Please sign in to comment.