Skip to content

Commit

Permalink
chore: add ci lint step
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Sep 12, 2024
1 parent b7191f9 commit b2a92a4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,37 @@ on:
permissions: {}

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y yasm libudev-dev libusb-1.0-0-dev
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'

- name: Prepare
run: |
corepack enable
# try and avoid timeout errors
yarn config set httpTimeout 100000
yarn
- name: Lint
run: |
yarn lint
Linux-x64:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit b2a92a4

Please sign in to comment.