Skip to content

ci(github): bump actions/checkout from 4.2.1 to 4.2.2 in /.github/workflows #57

ci(github): bump actions/checkout from 4.2.1 to 4.2.2 in /.github/workflows

ci(github): bump actions/checkout from 4.2.1 to 4.2.2 in /.github/workflows #57

Workflow file for this run

name: Lint
on:
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
lint:
name: Run linters
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- name: Check out Git repository
uses: actions/[email protected]
- name: Parse .tool-versions
uses: wistia/[email protected]
- name: Set up Node.js environment
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODEJS_TOOL_VERSION }}
- name: Cache node_modules
uses: actions/cache@v4
id: cache-modules
with:
path: '**/node_modules'
key: ${{ runner.os }}-node${{ env.NODEJS_TOOL_VERSION }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node${{ env.NODEJS_TOOL_VERSION }}-
- name: Install Node.js dependencies
if: steps.cache-modules.outputs.cache-hit != 'true'
run: npm ci
- name: Run ESLint
run: yarn lint:ci