Skip to content

Next.js 14.1

Next.js 14.1 #227

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Get npm cache directory
id: npm-cache-dir
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v2
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/cache@v2
with:
path: .eslintcache
key: eslint
restore-keys: |
eslint
- name: Install dependencies
run: npm ci
- name: Run TypeScript compiler
run: npm run tscheck
- name: Run ESLint
run: npm run lint
- name: Run Prettier
run: npm run format:check .