-
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (26 loc) · 648 Bytes
/
release.yml
File metadata and controls
34 lines (26 loc) · 648 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
name: Release
on:
release:
types:
- published
workflow_dispatch:
jobs:
build:
name: "Build and release"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: Install the dependencies
run: npm i
- name: Install vsce
run: npm i -g vsce
- name: Test API
run: npm run test:api
- name: Populate cache
run: node ./scripts/populate-cache.js
- name: Publish
run: vsce publish -p ${{ secrets.VSCE_PAT }}