Skip to content

Commit 1038ebc

Browse files
committed
(chore) Init GH actions
1 parent 9b521ad commit 1038ebc

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/main.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build release
2+
on: [push]
3+
jobs:
4+
package:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v3
8+
- uses: actions/setup-node@v3
9+
with:
10+
node-version: 18
11+
- run: npm i -g vsce
12+
name: Install vsce
13+
- run: npm install
14+
name: Install dependencies
15+
- run: "vsce package --baseContentUrl=https://github.com/hugoch/vscode-starcoder --baseImagesUrl=https://github.com/hugoch/vscode-starcoder"
16+
name: Package extension
17+
- uses: actions/upload-artifact@v3
18+
name: Upload artifact
19+
with:
20+
name: starcoder-${{ github.sha }}
21+
path: "*.vsix"

0 commit comments

Comments
 (0)