MMM-pages/.github/workflows/automated-tests.yaml

27 lines
529 B
YAML
Raw Normal View History

2024-12-10 11:20:10 -08:00
name: Automated Tests
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Check linting
run: npm run lint