File tree Expand file tree Collapse file tree 9 files changed +13159
-11398
lines changed
Expand file tree Collapse file tree 9 files changed +13159
-11398
lines changed Original file line number Diff line number Diff line change 88 - " packages/msw-dev-tool/**"
99 - " .github/workflows/deploy-package.yml"
1010 - " package.json"
11- - " pnpm-lock.yaml "
11+ - " yarn.lock "
1212
1313jobs :
1414 release :
@@ -25,24 +25,21 @@ jobs:
2525 uses : actions/setup-node@v3
2626 with :
2727 node-version : " 20"
28+ cache : ' yarn'
2829
29- - name : Set up pnpm
30- uses : pnpm/action-setup@v2
31- with :
32- version : 9.10.0
30+ - name : Enable Corepack
31+ run : corepack enable
3332
3433 - name : Config identity
3534 run : |
3635 git config --global user.email "${{ secrets.ADMIN_EMAIL }}"
3736 git config --global user.name "${{ secrets.ADMIN_NAME }}"
3837
3938 - name : Install dependencies
40- working-directory : packages/msw-dev-tool
41- run : pnpm install
39+ run : yarn install
4240
43- - name : Build
44- working-directory : packages/msw-dev-tool
45- run : npm run build
41+ - name : Build msw-dev-tool
42+ run : yarn workspace msw-dev-tool build
4643
4744 - name : Get NPM package version
4845 id : get_version
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ node_modules
1111dist
1212dist-ssr
1313* .local
14+ .yarn /*
1415
1516# Editor directories and files
1617.vscode /*
Original file line number Diff line number Diff line change 1+ nodeLinker : node-modules
Original file line number Diff line number Diff line change 11{
2- "name" : " msw-dev-tool-repo " ,
2+ "name" : " msw-dev-tool-monorepo " ,
33 "private" : true ,
4- "scripts" : {},
5- "packageManager" : " pnpm@9.10.0" ,
6- "dependencies" : {
7- }
4+ "workspaces" : [
5+ " packages/*"
6+ ],
7+ "scripts" : {
8+ "dev" : " yarn workspace docs dev" ,
9+ "build" : " yarn workspaces run build" ,
10+ "lint" : " yarn workspaces run lint" ,
11+ "test" : " yarn workspaces run test"
12+ },
13+ "devDependencies" : {
14+ "typescript" : " ^5.0.0"
15+ },
16+ "packageManager" : " yarn@4.5.3"
817}
Original file line number Diff line number Diff line change 4141 " public"
4242 ]
4343 }
44- }
44+ }
Original file line number Diff line number Diff line change 3434 " public"
3535 ]
3636 }
37- }
37+ }
You can’t perform that action at this time.
0 commit comments