Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
node-version: 18
cache: "pnpm"

- name: Install safe-chain
run: curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci
env:
SAFE_CHAIN_VERSION: "1.2.1"

- name: Install modules
run: pnpm install

Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,25 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9

- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"

- name: Install safe-chain
run: curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci
env:
SAFE_CHAIN_VERSION: "1.2.1"

# vsce が pnpm に対応してないので npm でインストールする。
# lock ファイルを参照せずにインストールするので不安要素はあるが、
# バージョンがそこまで違っていなければ問題ないと判断
- name: node_modules をインストール
run: npm install --no-package-lock
run: pnpm install

# vsce が pnpm に対応してないので npm で実行する
- name: VSCode拡張をリリース
run: npm run publish:vsce
run: pnpm run publish:vsce
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/zenn-dev/zenn-vscode-extension.git"
},
"license": "MIT",
"version": "0.6.0",
"version": "0.6.1",
"pricing": "Free",
"engines": {
"vscode": "^1.72.0"
Expand Down Expand Up @@ -210,9 +210,9 @@
}
},
"scripts": {
"publish:vsce": "yes | vsce publish",
"publish:vsce": "yes | vsce publish --no-dependencies",
"dev": "run-p watch-web run-in-browser",
"vscode:prepublish": "npm run package-web",
"vscode:prepublish": "pnpm run package-web",
"compile-web": "webpack",
"watch-web": "webpack --watch",
"package-web": "webpack --mode production --devtool hidden-source-map",
Expand Down Expand Up @@ -249,7 +249,7 @@
"eslint-plugin-import": "^2.26.0",
"mocha": "^10.0.0",
"natural-compare-lite": "^1.4.0",
"npm-run-all": "^4.1.5",
"npm-run-all2": "^7.0.2",
"prettier": "^2.7.1",
"process": "^0.11.10",
"sass": "^1.53.0",
Expand Down
Loading