@@ -18,22 +18,23 @@ jobs:
1818 - uses : actions/setup-node@v4
1919 with :
2020 node-version : 20
21+ - run : corepack enable
2122 -
run :
git config --global user.email "[email protected] " 2223 - run : git config --global user.name "GitHub Actions"
23- - run : yarn --frozen-lockfile
24- - run : yarn checkUnknownFiles
25- - run : yarn lint
24+ - run : pnpm install --frozen-lockfile
25+ - run : pnpm checkUnknownFiles
26+ - run : pnpm lint
2627 - env :
2728 GITHUB_REPOSITORY : ${{ secrets.GITHUB_REPOSITORY }}
2829 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2930 name : Push changed files
30- run : yarn dw-ci push-changed-files
31+ run : pnpm dw-ci push-changed-files
3132 - env :
3233 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3334 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
3435 if : github.ref == 'refs/heads/master'
3536 name : Release
36- run : yarn semantic-release
37+ run : pnpm semantic-release
3738 test :
3839 needs : cancel-existing
3940 runs-on : ${{ matrix.os }}
@@ -45,10 +46,11 @@ jobs:
4546 - uses : actions/setup-node@v4
4647 with :
4748 node-version : ${{ matrix.node }}
48- - run : yarn --frozen-lockfile
49+ - run : corepack enable
50+ - run : pnpm install --frozen-lockfile
4951 - env :
5052 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51- run : yarn test
53+ run : pnpm test
5254 - if : failure()
5355 uses : actions/upload-artifact@v3
5456 with :
0 commit comments