Skip to content

Commit 5797e76

Browse files
Merge pull request #137 from zenn-dev/canary
release 0.6.1
2 parents c89e898 + f300dc5 commit 5797e76

File tree

4 files changed

+91
-180
lines changed

4 files changed

+91
-180
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
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

.github/workflows/release.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
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"
@@ -210,9 +210,9 @@
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",
@@ -249,7 +249,7 @@
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",

0 commit comments

Comments
 (0)