Skip to content

Create eslint.yml

Create eslint.yml #9

Workflow file for this run

name: Run ESLint on Pull Requests
on:
- pull_request
jobs:
build:
name: Run ESLint
runs-on: ubuntu-latest
# defaults:
# run:
# shell: bash
# working-directory: cubeseed_login
strategy:
max-parallel: 42
fail-fast: false
matrix:
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
# Check out the repository
- uses: actions/checkout@v3
# Install Node.js
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# Install your dependencies
- run: npm ci --legacy-peer-deps
# Install ESLint
- run: npm install eslint --save-dev
# Run ESLint
- run: npx eslint ./cubeseed_lgin