You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

29 lines
545 B

name: Lint
on:
push:
branches:
- main
- production
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@main
- name: Setup Node
uses: actions/setup-node@main
with:
node-version: 'current'
check-latest: true
cache: 'npm'
- name: npm run lint
run: |
npm config set -g fund false
cd src
npm ci --legacy-peer-deps
npm run lint