Skip to content

Merge pull request #6 from webbrain-one/webbrain/issue-4 #2

Merge pull request #6 from webbrain-one/webbrain/issue-4

Merge pull request #6 from webbrain-one/webbrain/issue-4 #2

Workflow file for this run

# .github/workflows/ci.yml
name: CI Pipeline
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x' # Update to match the project's target Node version
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run Linter
run: npm run lint
- name: Build Workspace
run: npm run build