-
Notifications
You must be signed in to change notification settings - Fork 49
37 lines (29 loc) · 836 Bytes
/
release.yml
File metadata and controls
37 lines (29 loc) · 836 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
name: Update VSCode extension
on:
workflow_dispatch:
push:
jobs:
bump-vsc-package:
runs-on: ubuntu-latest
steps:
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 16
- name: Get latest code
uses: actions/checkout@v4
with:
submodules: true
- name: Bump package version
uses: jpb06/bump-package@latest
with:
major-keywords: BREAKING CHANGE
minor-keywords: feat
should-default-to-patch: true
- run: yarn install --frozen-lockfile
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v2
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
yarn: true