chore: simplify workflows and switch to pnpm (2.x) (#482) #952
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: Integrate | |
on: | |
push: | |
branches: ["2.x"] | |
pull_request: | |
branches: ["2.x"] | |
workflow_dispatch: | |
jobs: | |
quality: | |
name: Quality checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Biome | |
uses: biomejs/setup-biome@v2 | |
- name: Run Biome | |
run: biome ci --reporter=github | |
build: | |
name: Build and package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: true | |
- name: Build the extension | |
run: pnpm build | |
- name: Package the extension | |
run: pnpm exec vsce package -o biome.vsix |