Skip to content

Commit b06640a

Browse files
committed
Publish without NPM config token
1 parent 1fdbf2c commit b06640a

3 files changed

Lines changed: 24 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,25 @@ permissions:
1212

1313
jobs:
1414
release:
15-
uses: rubriclab/package/.github/workflows/release-package.yml@main
16-
secrets: inherit
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
packages: write
19+
id-token: write
20+
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v4
24+
25+
- name: Setup Bun
26+
uses: oven-sh/setup-bun@v2
27+
with:
28+
bun-version: "latest"
29+
30+
- name: Install dependencies
31+
run: bun install
32+
33+
- name: Publish to NPM Packages
34+
run: bun publish
35+
# env:
36+
# NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- [2025-12-11] [Publish without NPM config token](https://github.com/RubricLab/agents/commit/a4cc80e9328999360be76277105693ffb4f68203)
12
- [2025-12-11] [Revert to original publish script](https://github.com/RubricLab/agents/commit/de9d35b53602c38202aa9c9269d6d02ee8a08ae5)
23
- [2025-12-11] [Add permissions to step](https://github.com/RubricLab/agents/commit/73202e89de49e03fa786570b4c855dd3d6dc70ec)
34
- [2025-12-11] [Publish with NPM](https://github.com/RubricLab/agents/commit/0b16822bda5e074745469055f3e8cadc557c2445)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
"simple-git-hooks": {
2121
"post-commit": "bun x @rubriclab/package post-commit"
2222
},
23-
"version": "0.0.77"
23+
"version": "0.0.78"
2424
}

0 commit comments

Comments
 (0)