@@ -17,13 +17,15 @@ jobs:
1717 env :
1818 COREPACK_ENABLE_STRICT : 0
1919 steps :
20- - name : Checkout Repo
21- uses : actions/checkout@v3
20+ - uses : actions/checkout@v4
21+ with :
22+ filter : tree:0
23+ fetch-depth : 0
2224
23- - name : Install pnpm
24- run : |
25- corepack enable
26- corepack prepare pnpm@latest --activate
25+ - uses : pnpm/action-setup@v4
26+ name : Install pnpm
27+ with :
28+ run_install : false
2729
2830 - name : Install Node.js
2931 uses : actions/setup-node@v4
@@ -34,13 +36,15 @@ jobs:
3436 - name : Install Dependencies
3537 env :
3638 SKIP_RUST_BUILD : 1
37- run : pnpm install
39+ run : pnpm install --frozen-lockfile
3840
3941 - name : Create Release Pull Request or Publish to npm
4042 id : changesets
4143 uses : changesets/action@v1
4244 with :
43- publish : pnpm release
45+ publish : pnpm ci:release
46+ commit : " chore: version packages"
47+ title : " chore: version packages"
4448 env :
4549 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4650 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
7983 run : |
8084 echo '${{ needs.release.outputs.publishedPackages }}'
8185
82- - name : Checkout
83- uses : actions/checkout@v4
86+ - uses : actions/checkout@v4
87+ with :
88+ filter : tree:0
89+ fetch-depth : 0
8490
8591 - name : Install system deps (aarch64-unknown-linux-gnu)
8692 if : ${{matrix.target == 'aarch64-unknown-linux-gnu'}}
@@ -95,10 +101,10 @@ jobs:
95101 toolchain : 1.88.0
96102 target : ${{matrix.target}}
97103
98- - name : Install pnpm
99- run : |
100- corepack enable
101- corepack prepare pnpm@latest --activate
104+ - uses : pnpm/action-setup@v4
105+ name : Install pnpm
106+ with :
107+ run_install : false
102108
103109 - name : Install Node.js
104110 uses : actions/setup-node@v4
@@ -114,7 +120,7 @@ jobs:
114120 - name : Install Node.js dependencies
115121 env :
116122 SKIP_RUST_BUILD : 1
117- run : pnpm install
123+ run : pnpm install --frozen-lockfile
118124
119125 - name : Build library for aarch64-unknown-linux-gnu
120126 if : ${{matrix.target == 'aarch64-unknown-linux-gnu'}}
0 commit comments