Skip to content

Enable GitHub Actions on branches and PRs #6

Enable GitHub Actions on branches and PRs

Enable GitHub Actions on branches and PRs #6

Workflow file for this run

on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
workflow_dispatch:
jobs:
package:
name: Package Extension
runs-on: ubuntu-latest
steps:
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 20.5.1
- name: Checkout repo
uses: actions/[email protected]
- name: Build extension
run: |
npm install
npm install --global @vscode/vsce
./package.sh
- name: Upload extension
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v4
with:
path: ./dist/*