diff --git a/.github/workflows/build_ci_vsce.yml b/.github/workflows/build_ci_vsce.yml new file mode 100644 index 0000000..cb32614 --- /dev/null +++ b/.github/workflows/build_ci_vsce.yml @@ -0,0 +1,35 @@ +name: VSCode Extension Build + +on: + push: + paths: + - extension/** + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Fetch NodeJS + uses: actions/setup-node@v4 + with: + node-version: '20.18' + + - name: Install Node modules + run: | + npm install + + - name: Build as VSCode extension + run: | + npx vsce package + + - name: Upload dist folder + uses: actions/upload-artifact@v4 + with: + name: zhivo-vsce + path: zhivo-lang-vsce-0.0.1.vsix