Skip to content

Commit 7c6e5b6

Browse files
tonis2tonis2
and
tonis2
authored
Fixes for building .vsix file (#11)
* Start with auto deployment * Fixes for building --------- Co-authored-by: tonis2 <[email protected]>
1 parent be80924 commit 7c6e5b6

File tree

9 files changed

+75
-1189
lines changed

9 files changed

+75
-1189
lines changed

.github/workflows/deploy.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build & Deploy
2+
on:
3+
push:
4+
branches: [main]
5+
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
- name: Build project
12+
run: |
13+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash &&
14+
export NVM_DIR="$HOME/.nvm"
15+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
16+
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
17+
18+
nvm use system
19+
20+
nvm install 22
21+
nvm use 22
22+
npm install
23+
npm run build
24+
vsce publish

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
node_modules
22
Makefile
3-
.DS_Store
3+
.DS_Store
4+
*.vsix
5+
dist/
6+
.vscode/

extension.js

Whitespace-only changes.

0 commit comments

Comments
 (0)