Skip to content

feat: web build for neuropilot #6

feat: web build for neuropilot

feat: web build for neuropilot #6

Workflow file for this run

name: Build extension
on:
push:
branches-ignore:
- master
paths-ignore:
- ".github/"
- ".vscode/"
- ".husky/"
- "playground/"
- "docs/"
- "tony/"
pull_request:
paths-ignore:
- ".github/"
- ".vscode/"
- ".husky/"
- "playground/"
- "docs/"
- "tony/"
jobs:
build:
name: Build extension
runs-on: ubuntu-latest
steps:
- name: Checkout source repository
uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
- name: Setup Node.js
uses: actions/setup-node@v4.4.0
with:
node-version: 22.x.x
cache: 'npm'
cache-dependency-path: './package-lock.json'
- name: Cache node_modules
uses: actions/cache@v4
with:
path: node_modules/
key: neuropilot-build
- name: Install dependencies
run: npm install
- name: Package extension
env:
NODE_ENV: 0
run: npx @vscode/vsce package --allow-star-activation # how do I make this build non-prod too :(
- name: Upload builds
uses: actions/upload-artifact@v4
with:
path: neuropilot-*.vsix
name: NeuroPilot (Non-Production) Build ${{ github.sha }}