Skip to content

Cosimstudio rework 0.1.3 #5

Cosimstudio rework 0.1.3

Cosimstudio rework 0.1.3 #5

Workflow file for this run

name: Build and Test VS Code Extension
on:
push:
branches:
- cosimstudio_rework
pull_request:
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [20]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test:unit
- name: Build the extension
run: npx vsce package
- name: Upload .vsix artifact
uses: actions/upload-artifact@v4
with:
name: vscode-extension-${{ matrix.os }}
path: '*.vsix'