macOS builders are failing with major version 12 because it's deprecated now https://github.com/actions/runner-images/issues/10721
24 lines
432 B
YAML
24 lines
432 B
YAML
name: Lint
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Check out Git repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Node.js, NPM and Yarn
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 20
|
|
cache: 'yarn'
|
|
|
|
- name: Yarn Install
|
|
run: yarn install --frozen-lockfile --ignore-optional
|
|
|
|
- name: Yarn Lint
|
|
run: yarn lint
|