Stitch for VSCode #231
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Stitch for VSCode | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- 'bscotch-stitch-vscode@*' | |
permissions: | |
contents: write | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
publish: | |
runs-on: windows-latest | |
steps: | |
# SETUP | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.18.0 | |
- run: corepack enable | |
- run: rustup default 1.78.0 # latest doesn't work! | |
- run: pnpm install --filter=bscotch-stitch-vscode... --filter=stitch-monorepo | |
- run: pwd | |
# BUILD DEPS | |
- name: Build | |
run: pnpm turbo run build --only --filter=bscotch-stitch-vscode... | |
# PUBLISH | |
- name: Publish | |
working-directory: packages/vscode | |
run: pnpm vscode:publish | |
env: | |
VSCE_PAT: ${{ secrets.VSCE_PAT }} |