Skip to content

Commit a058e13

Browse files
committed
chore: release v4.0.0-alpha.5
1 parent 682173e commit a058e13

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/npmpublish.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
- 'v*'
1010
workflow_dispatch:
1111

12+
permissions:
13+
contents: read
14+
id-token: write
15+
1216
jobs:
1317
test:
1418
runs-on: ubuntu-latest
@@ -49,16 +53,16 @@ jobs:
4953
node-version: 20
5054
registry-url: https://registry.npmjs.org/
5155
cache: pnpm
56+
- run: npm install -g npm@11.5.1
5257
- run: pnpm install --frozen-lockfile
5358
- name: Publish to npm
59+
working-directory: use-shopping-cart
5460
run: |
5561
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
56-
pnpm --filter use-shopping-cart publish --dry-run --no-git-checks
62+
npm publish --dry-run
5763
else
58-
pnpm --filter use-shopping-cart publish --no-git-checks
64+
npm publish
5965
fi
60-
env:
61-
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
6266
# publish-gpr:
6367
# needs: build
6468
# runs-on: ubuntu-latest

use-shopping-cart/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "use-shopping-cart",
3-
"version": "4.0.0-alpha.4",
3+
"version": "4.0.0-alpha.5",
44
"description": "Shopping cart state and logic for Stripe",
55
"author": "dayhaysoos",
66
"license": "MIT",

0 commit comments

Comments
 (0)