Skip to content

Enable on all branches, not justmain - just to check! #13

Enable on all branches, not justmain - just to check!

Enable on all branches, not justmain - just to check! #13

Workflow file for this run

name: Package Extension
on: push
jobs:
test-and-package:
name: "Test & Package"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- name: Lint & Check Formatting
run: |
failure=0
bun prettier . --check || failure=1
bun eslint || failure=1
- name: Test
run: bun test
- run: bun run package
- name: Setup Environment
run: node -e "console.log('PACKAGE_VERSION=' + require('./package.json').version + '\nPACKAGE_NAME=' + require('./package.json').name + '-' + require('./package.json').version)" >> $GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
name: ${{ env.PACKAGE_NAME }}.vsix
path: ./${{ env.PACKAGE_NAME }}.vsix