Skip to content

Commit

Permalink
editors/vscode; switch to npm
Browse files Browse the repository at this point in the history
Seems like @vscode/vsce doesn't support pnpm: microsoft/vscode-vsce#421.
  • Loading branch information
jo3-l committed Aug 16, 2024
1 parent b69e599 commit 5bb2daf
Show file tree
Hide file tree
Showing 5 changed files with 6,315 additions and 3,722 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/full-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
package_json_file: ./editors/vscode/package.json

- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
cache-dependency-path: ./editors/vscode/pnpm-lock.yaml
cache: npm
cache-dependency-path: ./editors/vscode/package-lock.json

- uses: Swatinem/rust-cache@v2

- run: pnpm install --frozen-lockfile
- run: npm install
working-directory: ./editors/vscode

- name: Install musl-tools
Expand All @@ -91,7 +87,7 @@ jobs:
- name: Package VSCode extension
shell: bash
run: pnpm package -- --target ${{ matrix.vscode-target }} -o yag-template-lsp-${{ matrix.vscode-target }}.vsix
run: npm run package -- --target ${{ matrix.vscode-target }} -o yag-template-lsp-${{ matrix.vscode-target }}.vsix
working-directory: ./editors/vscode

- name: Upload VSCode extension
Expand Down
2 changes: 1 addition & 1 deletion editors/vscode/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
!dist/yag-template-lsp
!dist/yag-template-lsp.exe
!package.json
!pnpm-lock.yaml
!package-lock.json
!icon.png
!README.md
!LICENSE.md
Loading

0 comments on commit 5bb2daf

Please sign in to comment.