Skip to content

Merge pull request #216 from Auge19/add_eslint #13

Merge pull request #216 from Auge19/add_eslint

Merge pull request #216 from Auge19/add_eslint #13

Workflow file for this run

# workflow for build and deploy
name: Build
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run Build
run: make
- name: Run tests
run: make test-headless
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: tko
path: builds/knockout/dist