Skip to content

Update npm: ESLint (major) #83

Update npm: ESLint (major)

Update npm: ESLint (major) #83

Workflow file for this run

name: CI
on:
push:
branches:
- renovate/*
pull_request:
branches:
- main
workflow_call:
env:
NODE_VERSION: 18
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Run Prettier
run: npx prettier --check .
- name: Run ESLint
run: npx eslint . --max-warnings 0
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Upload Build
uses: actions/upload-artifact@v4
with:
name: Website
path: build/