Skip to content

chore: fix lint using non-existent configs #127

chore: fix lint using non-existent configs

chore: fix lint using non-existent configs #127

Workflow file for this run

name: Site workflow
on:
push:
# Only accept deploying from the main branch
branches: [main]
jobs:
test:
name: App linting/testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup NodeJS LTS
uses: actions/setup-node@v6
with:
node-version: '18.x'
- name: Setup Angular problem matchers
uses: EdricChan03/angular-problem-matchers-action@v0.0.0
- name: Cache node modules
uses: actions/cache@v5
id: node_modules_cache
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }}-
${{ runner.os }}-node_modules-
${{ runner.os }}-
- name: Install dependencies
# Skip this step if a cache hit occurs on the key
if: steps.node_modules_cache.outputs.cache-hit != 'true'
run: npm ci
- name: Lint application
run: npm run lint
- name: Test application
run: npm run action:test