Merge pull request #169 from Greater-London-Authority/main #242
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint PRs | |
on: | |
pull_request: | |
branches: ['dev', 'main'] | |
push: | |
branches: ['dev', 'main'] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: npm | |
- name: Install dependencies | |
run: npm install | |
- name: Lint | |
run: npm run lint |