Skip to content

chore(deps): update actions/checkout action to v4.1.3 #1280

chore(deps): update actions/checkout action to v4.1.3

chore(deps): update actions/checkout action to v4.1.3 #1280

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
env:
DISCORD_ID: ${{ vars.DISCORD_ID }}
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4.1.3
- uses: actions/setup-node@v4.0.2
with:
node-version-file: ".nvmrc"
- name: Restore npm cache
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Run format check
run: npm run format:check
- name: Run lint
run: npm run lint