Skip to content

Commit dc509a7

Browse files
Update version, sign release
1 parent 8b015df commit dc509a7

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
types: [created]
66
workflow_dispatch:
77

8+
permissions:
9+
contents: write
10+
id-token: write
11+
812
jobs:
913
publish:
1014
runs-on: ubuntu-latest
@@ -19,6 +23,6 @@ jobs:
1923
registry-url: "https://registry.npmjs.org"
2024
- run: bun install
2125
- run: bun run build
22-
- run: npm publish
26+
- run: npm publish --provenance
2327
env:
2428
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "best-bible",
3-
"version": "1.6.9",
3+
"version": "1.7.0",
44
"description": "Fetch, parse, and analyze the Bible easily with JavaScript",
55
"scripts": {
66
"prebuild": "rm -rf dist",
@@ -9,10 +9,10 @@
99
"build:types": "tsc --project tsconfig.types.json",
1010
"build:browser": "bun build src/browser.ts --outfile dist/browser/best-bible.min.js --target browser --minify",
1111
"build": "bun run prebuild && bun run build:cjs && bun run build:esm && bun run build:browser && bun run build:types",
12-
"prepublishOnly": "npm run build",
12+
"prepublishOnly": "bun run build",
1313
"test": "bun test"
1414
},
15-
"packageManager": "[email protected].37",
15+
"packageManager": "[email protected].38",
1616
"files": [
1717
"dist",
1818
"README.md",
@@ -52,7 +52,7 @@
5252
"devDependencies": {
5353
"@types/bun": "^1.1.14",
5454
"@types/node": "^22.10.1",
55-
"bun-types": "^1.1.37",
55+
"bun-types": "^1.1.38",
5656
"typescript": "^5.7.2"
5757
}
58-
}
58+
}

0 commit comments

Comments
 (0)