-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (32 loc) · 1007 Bytes
/
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
38
name: Publish to VS Code Marketplace
on:
push:
branches: [main, fix/readable-stream-error]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Node version
uses: actions/setup-node@v1
with:
node-version: 16
- uses: actions/checkout@v2
- name: Make envfile
uses: SpicyPizza/[email protected]
with:
envkey_SESSIONS_SECRET_KEY: ${{ secrets.SESSION_SECRET_KEY }}
envkey_CLIENT_IDENTIFIER: com.pullflow.vscode
envkey_PULLFLOW_APP_URL: https://app.pullflow.com
envkey_PULLFLOW_TELEMETRY_URL: https://collector.pullflow.cloud
- name: Install polyfill for ReadableStream
run: npm install readable-stream
- name: Build, compile and test
run: |
yarn
yarn compile
yarn lint
yarn test
- name: publish
run: |
yarn global add vsce
vsce publish -p ${{ secrets.VSCE_ACCESS_TOKEN_TEMPORARY }}