This PR brings us up to date with platform drift in GitHub's build infrastructure. #2307
Workflow file for this run
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 | |
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 |