Skip to content

Create CODEOWNERS

Create CODEOWNERS #9

Workflow file for this run

name: Build FlavorLang and VS Code Extension
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build FlavorLang and VS Code Extension
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
# Step 1: Checkout the repo
- name: Checkout repository
uses: actions/checkout@v4
# Step 2: Set up Node.js (for VS Code extension)
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20 # even versions are designated as stable
# Step 3: Install dependencies and build VS Code extension
- name: Build VS Code extension
working-directory: vscode-extension
run: |
npm ci
npm audit fix --force || true # Allow audit to fail without breaking the workflow
npx @vscode/vsce package
# Step 4: Save the VSIX file as an artifact
- name: Upload VS Code extension package
uses: actions/upload-artifact@v4
with:
name: flavorlang-extension-${{ matrix.os }}
path: vscode-extension/*.vsix
# Step 5: Build FlavorLang interpreter
- name: Build FlavorLang interpreter
working-directory: src
run: make
# Step 6: Save the interpreter executable as an artifact
- name: Upload FlavorLang interpreter executable
uses: actions/upload-artifact@v4
with:
name: flavorlang-interpreter-${{ matrix.os }}
path: src/flavor