Add uv to build-extension #12
Workflow file for this run
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: Build Extension | |
on: | |
push: | |
branches: | |
- main | |
- uv | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- uses: astral-sh/setup-uv@v3 | |
- run: cd client && npm ci | |
- name: compile and create vsix | |
run: | | |
cd client | |
npm install | |
npm install -g vsce | |
npm run compile | |
npm run webpack | |
npm run vscepack | |
- name: upload vsix as artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: extension-package | |
path: client/*.vsix |