88 build :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v2
11+ - uses : actions/checkout@v3
1212 with :
1313 ref : main
14- - uses : actions/setup-node@v1
14+ - uses : ./.github/actions/initialize
15+ - uses : pnpm/action-setup@v2.2.2
16+ with :
17+ version : 8.15.1
18+ - uses : actions/setup-node@v2
1519 with :
16- node-version : " 12 .x"
20+ node-version : " 20 .x"
1721 registry-url : https://npm.pkg.github.com
1822 scope : " @Himenon"
23+ cache : " pnpm"
24+ - run : pnpm i --frozen-lockfile
1925 - run : |
20- yarn install --frozen-lockfile
21- yarn build
26+ pnpm build
2227
2328 release-github-registry :
2429 runs-on : ubuntu-latest
2530 steps :
26- - uses : actions/checkout@v2
31+ - uses : actions/checkout@v3
2732 with :
2833 ref : main
29- - uses : actions/setup-node@v1
34+ - uses : ./.github/actions/initialize
35+ - uses : pnpm/action-setup@v2.2.2
3036 with :
31- node-version : " 12.x"
37+ version : 8.15.1
38+ - uses : actions/setup-node@v2
39+ with :
40+ node-version : " 20.x"
3241 registry-url : https://npm.pkg.github.com
3342 scope : " @Himenon"
43+ cache : " pnpm"
44+ - run : pnpm install
3445 - run : |
35- yarn install --frozen-lockfile
36- yarn build
37- yarn --cwd ./lib release:github:registry
46+ pnpm build
47+ pnpm run release:github:registry
3848 env:
3949 NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4050
@@ -44,12 +54,16 @@ jobs:
4454 - uses : actions/checkout@v2
4555 with :
4656 ref : main
47- - uses : actions/setup-node@v1
57+ - uses : pnpm/action-setup@v2.2.2
58+ with :
59+ version : 8.15.1
60+ - uses : actions/setup-node@v2
4861 with :
49- node-version : " 12 .x"
62+ node-version : " 20 .x"
5063 registry-url : " https://registry.npmjs.org"
51- - run : yarn install --frozen-lockfile
52- - run : yarn build
53- - run : yarn --cwd ./lib release:npm:registry
64+ cache : " pnpm"
65+ - run : pnpm install
66+ - run : pnpm build
67+ - run : pnpm run release:npm:registry
5468 env :
5569 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
0 commit comments