Skip to content

Commit c2d3d9a

Browse files
committed
ci: use npm trusted publishing and release v0.1.2
1 parent e769e2b commit c2d3d9a

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818

1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version-file: '.nvmrc'
21+
# npm trusted publishing requires npm >= 11.5.1 (Node >= 22.14.0).
22+
node-version: '24'
2223
registry-url: 'https://registry.npmjs.org'
2324

2425
- uses: pnpm/action-setup@v4
@@ -37,7 +38,9 @@ jobs:
3738
- name: Build
3839
run: pnpm --filter dumplingai-cli build
3940

41+
- name: Show npm version
42+
run: npm --version
43+
4044
- name: Publish
41-
run: pnpm --filter dumplingai-cli publish --no-git-checks
42-
env:
43-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
45+
working-directory: packages/cli
46+
run: npm publish --provenance --access public

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dumplingai-cli",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "DumplingAI CLI — scrape, search, and extract from the terminal",
55
"license": "MIT",
66
"type": "module",

0 commit comments

Comments
 (0)