File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 1- name : Publish page package to npm on Release
1+ name : Publish to npm on Release
22
33on :
44 release :
@@ -12,24 +12,22 @@ jobs:
1212 - name : Checkout repository
1313 uses : actions/checkout@v4
1414
15+ - uses : pnpm/action-setup@v4
16+ with :
17+ run_install : false
18+
1519 - name : Setup Node.js
1620 uses : actions/setup-node@v4
1721 with :
1822 node-version : 20
1923 registry-url : https://registry.npmjs.org/
2024
21- - name : Setup pnpm
22- uses : pnpm/action-setup@v4
23- with :
24- version : 9
25- - name : Install dependencies for page package
26- run : pnpm --filter ./packages/page... install --frozen-lockfile
25+ - name : Install dependencies
26+ run : pnpm install --frozen-lockfile
2727
28- - name : Build page package
29- run : pnpm --filter ./packages/page build --if-present
28+ run : pnpm run build --if-present
3029
31- - name : Publish page package
32- working-directory : packages/page
30+ - name : Publish to npm
3331 run : pnpm publish --access public
3432 env :
3533 NODE_AUTH_TOKEN : ${{ secrets.NPM_RELEASE_TOKEN }}
You can’t perform that action at this time.
0 commit comments