File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,20 @@ jobs:
1010 build-and-publish :
1111 runs-on : ubuntu-latest
1212 steps :
13- # リポジトリをチェックアウト
13+ # リポジトリをチェックアウト(フル履歴を取得)
1414 - name : Checkout repository
1515 uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0
1618
1719 # Node.js 22 をセットアップ
1820 - name : Setup Node.js
1921 uses : actions/setup-node@v3
2022 with :
2123 node-version : 22
2224 registry-url : https://registry.npmjs.org
25+
26+ # pnpm をグローバルインストール
2327 - name : Install pnpm
2428 run :
npm install -g [email protected] 2529
3741 - name : Build
3842 run : pnpm build
3943
40- # npm に公開
44+ # npm に公開(Git チェックをスキップ)
4145 - name : Publish to npm
42- run : pnpm publish --access public
46+ run : pnpm publish --access public --no-git-checks
4347 env :
4448 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments