You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
469 B
YAML
26 lines
469 B
YAML
3 years ago
|
name: Lint
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
- develop
|
||
|
pull_request:
|
||
|
|
||
|
jobs:
|
||
|
lint:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
with:
|
||
|
submodules: true
|
||
|
- uses: actions/setup-node@v1
|
||
|
with:
|
||
|
node-version: 12.x
|
||
|
- uses: actions/cache@v2
|
||
|
with:
|
||
|
path: '**/node_modules'
|
||
|
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
||
|
- run: yarn install
|
||
|
- run: yarn lint
|