File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 - ' v*'
1010 workflow_dispatch :
1111
12+ permissions :
13+ contents : read
14+ id-token : write
15+
1216jobs :
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
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments