File tree Expand file tree Collapse file tree 4 files changed +91
-180
lines changed
Expand file tree Collapse file tree 4 files changed +91
-180
lines changed Original file line number Diff line number Diff line change 2828 node-version : 18
2929 cache : " pnpm"
3030
31+ - name : Install safe-chain
32+ run : curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci
33+ env :
34+ SAFE_CHAIN_VERSION : " 1.2.1"
35+
3136 - name : Install modules
3237 run : pnpm install
3338
Original file line number Diff line number Diff line change @@ -11,19 +11,25 @@ jobs:
1111 steps :
1212 - uses : actions/checkout@v4
1313
14+ - uses : pnpm/action-setup@v4
15+ with :
16+ version : 9
17+
1418 - uses : actions/setup-node@v4
1519 with :
1620 node-version : 20
21+ cache : " pnpm"
22+
23+ - name : Install safe-chain
24+ run : curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci
25+ env :
26+ SAFE_CHAIN_VERSION : " 1.2.1"
1727
18- # vsce が pnpm に対応してないので npm でインストールする。
19- # lock ファイルを参照せずにインストールするので不安要素はあるが、
20- # バージョンがそこまで違っていなければ問題ないと判断
2128 - name : node_modules をインストール
22- run : npm install --no-package-lock
29+ run : pnpm install
2330
24- # vsce が pnpm に対応してないので npm で実行する
2531 - name : VSCode拡張をリリース
26- run : npm run publish:vsce
32+ run : pnpm run publish:vsce
2733 env :
2834 VSCE_PAT : ${{ secrets.VSCE_PAT }}
2935
Original file line number Diff line number Diff line change 1010 "url" : " https://github.com/zenn-dev/zenn-vscode-extension.git"
1111 },
1212 "license" : " MIT" ,
13- "version" : " 0.6.0 " ,
13+ "version" : " 0.6.1 " ,
1414 "pricing" : " Free" ,
1515 "engines" : {
1616 "vscode" : " ^1.72.0"
210210 }
211211 },
212212 "scripts" : {
213- "publish:vsce" : " yes | vsce publish" ,
213+ "publish:vsce" : " yes | vsce publish --no-dependencies " ,
214214 "dev" : " run-p watch-web run-in-browser" ,
215- "vscode:prepublish" : " npm run package-web" ,
215+ "vscode:prepublish" : " pnpm run package-web" ,
216216 "compile-web" : " webpack" ,
217217 "watch-web" : " webpack --watch" ,
218218 "package-web" : " webpack --mode production --devtool hidden-source-map" ,
249249 "eslint-plugin-import" : " ^2.26.0" ,
250250 "mocha" : " ^10.0.0" ,
251251 "natural-compare-lite" : " ^1.4.0" ,
252- "npm-run-all " : " ^4.1.5 " ,
252+ "npm-run-all2 " : " ^7.0.2 " ,
253253 "prettier" : " ^2.7.1" ,
254254 "process" : " ^0.11.10" ,
255255 "sass" : " ^1.53.0" ,
You can’t perform that action at this time.
0 commit comments