-
Notifications
You must be signed in to change notification settings - Fork 52
37 lines (36 loc) · 1.16 KB
/
vscode-publish.yml
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
on:
push:
tags:
- "swarm-language-vscode-*"
name: Deploy Extension
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- run: |
cd editors/vscode && \
npm update && \
npm clean-install && \
cd client && \
npm update && \
npm clean-install && \
tsc --build . && \
cd .. && \
npm run gen-syntax && \
npm clean-install && \
npm run build --if-present
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
packagePath: editors/vscode
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
packagePath: editors/vscode
pat: ${{ secrets.VSX_MARKETPLACE_TOKEN }}