Skip to content

[docs]: presentation 1 wip #19

[docs]: presentation 1 wip

[docs]: presentation 1 wip #19

Workflow file for this run

name: ESLint Check
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
eslint:
name: Run ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 21.1.0
- name: Install dependencies
run: npm ci --only=dev
- name: Run ESLint
run: npm run eslint:github-action
- name: Check ESLint status
id: eslint-status
run: |
npm run eslint:github-action || echo 'failed'
echo "::set-output name=eslint-status::${{ steps.eslint-status.outputs.stdout }}"