Skip to content

Merge pull request #1347 from keyboardio/dependabot/npm_and_yarn/webp… #2424

Merge pull request #1347 from keyboardio/dependabot/npm_and_yarn/webp…

Merge pull request #1347 from keyboardio/dependabot/npm_and_yarn/webp… #2424

Workflow file for this run

name: Lint
on:
- push
- pull_request
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install udev-dev
run: sudo apt update && sudo apt install libudev-dev
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Set up yarn network timeout
run: yarn config set network-timeout 1000000 -g
- name: Install dependencies
env:
YARN_GPG: no
run: yarn install
- name: Run linters
run: |
yarn lint:css
yarn lint:js
- name: Check if yarn.lock is up to date
run: git diff --exit-code -- yarn.lock