-
Notifications
You must be signed in to change notification settings - Fork 10
45 lines (37 loc) · 1.14 KB
/
release-vscode.yml
File metadata and controls
45 lines (37 loc) · 1.14 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
name: Release LaunchPad VS Code Extension
on:
push:
paths:
- 'apps/vscode/CHANGELOG.md'
branches:
- main
jobs:
release-vscode:
# Prevents action from publishing on forks
if: github.repository == 'launchdarkly/launchpad-ui'
timeout-minutes: 15
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Get Token
uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: '/production/common/services/vscode_marketplace/vsce_pat = VSCE_PAT'
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build extension
run: pnpm nx run launchpad-design-system:build
- name: Publish extension
run: pnpm nx run launchpad-design-system:publish