File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -15,23 +15,26 @@ jobs:
1515 steps :
1616 - uses : actions/checkout@v6
1717
18+ - name : Setup pnpm
19+ uses : pnpm/action-setup@v4
20+
1821 - name : Setup Node.js
1922 uses : actions/setup-node@v6
2023 with :
2124 node-version : " 24"
22- cache : " npm "
25+ cache : " pnpm "
2326 registry-url : " https://registry.npmjs.org"
2427
2528 - name : Install dependencies
26- run : npm ci
29+ run : pnpm install
2730
2831 - name : Build
29- run : npm run build
32+ run : pnpm build
3033
3134 - name : Determine npm tag
3235 id : npm-tag
3336 run : |
34- VERSION=$(node -p "require('./package.json').version")
37+ VERSION=$(node -p "require('./packages/router/ package.json').version")
3538 if [[ "$VERSION" == *"-"* ]]; then
3639 # Prerelease version - extract tag (e.g., "alpha" from "0.0.1-alpha.0")
3740 TAG=$(echo "$VERSION" | sed 's/.*-\([a-zA-Z]*\).*/\1/')
4144 fi
4245
4346 - name : Publish
44- run : npm publish --access public --tag ${{ steps.npm-tag.outputs.tag }}
47+ run : pnpm --filter @funstack/router publish --access public --tag ${{ steps.npm-tag.outputs.tag }} --no-git-checks
You can’t perform that action at this time.
0 commit comments