-
Notifications
You must be signed in to change notification settings - Fork 19
66 lines (53 loc) · 1.75 KB
/
Copy pathpublish.yml
File metadata and controls
66 lines (53 loc) · 1.75 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: publish
on:
push:
tags: ['v*']
workflow_dispatch:
env:
MISE_LOCKED: "1"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
cache: true
- run: aube ci --frozen-lockfile
- run: node --run lint
- run: node --run ts-check
- run: node --run build
publish-vscode-openvsx:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
cache: true
- run: aube ci --frozen-lockfile
- run: node --run build
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@ca5561daa085dee804bf9f37fe0165785a9b14db # v2.0.0
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
dependencies: false
publish-vscode-marketplace:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
cache: true
- run: aube ci --frozen-lockfile
- run: node --run build
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@ca5561daa085dee804bf9f37fe0165785a9b14db # v2.0.0
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
dependencies: false