File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ permissions:
1515jobs :
1616 release :
1717 runs-on : ubuntu-latest
18+ defaults :
19+ run :
20+ working-directory : wp-react-lib
21+
1822 steps :
1923 - uses : actions/checkout@v4
2024 with :
@@ -25,26 +29,22 @@ jobs:
2529 node-version : ' 22.x'
2630
2731 - name : Install dependencies
28- working-directory : wp-react-lib
2932 run : npm install
3033
3134 - name : Run TypeScript Check
32- working-directory : wp-react-lib
3335 run : npm run typecheck
3436
3537 - name : Build
36- working-directory : wp-react-lib
3738 run : npm run build
3839
3940 - name : Create Release
4041 uses : changesets/action@v1
4142 id : release
4243 with :
43- version : pnpm run version
44- publish : pnpm exec changeset publish --git-tag
44+ version : npm run version
45+ publish : npm exec changeset publish --git-tag
4546 commit : " chore(release): update version"
4647 title : " chore(release): update version"
47- cwd : wp-react-lib
4848 env :
4949 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5050 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments