Skip to content

fix: workflow (#16) #35

fix: workflow (#16)

fix: workflow (#16) #35

Workflow file for this run

# This workflow runs for every pull request to lint and test the proposed changes.
name: Check
on:
pull_request:
# Push to main will trigger code checks
push:
branches:
- main
tags-ignore:
- "**" # Ignore all tags to prevent duplicate builds when tags are pushed.
jobs:
lint_and_test:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint