-
Notifications
You must be signed in to change notification settings - Fork 31
40 lines (31 loc) · 838 Bytes
/
package.yml
File metadata and controls
40 lines (31 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Package vsix
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Configure Git Agent
run: |
git config --global user.name 'Package Bot'
git config --global user.email 'Package-bot@users.noreply.github.com'
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
- name: npm install
run: |
npm install
- name: Install vsce
run: |
npm install -g vsce
- name: Package
run: |
vsce package -o "code-annotation.vsix"
- name: Commit file
run: |
git add code-annotation.vsix
git commit -nm "Updated vsix package"
git push