blob: 6a32440109905c1507007fc1d5914320c9d31f3d [file] [log] [blame]
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '0 1 * * *'
permissions:
contents: read # for actions/checkout to fetch code
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: |
npm install
- name: Grunt lint
run: |
node_modules/.bin/grunt jshint