Skip to content

chore(remix-example): update eslint to v9 and typescript-eslint to v8 #1673

chore(remix-example): update eslint to v9 and typescript-eslint to v8

chore(remix-example): update eslint to v9 and typescript-eslint to v8 #1673

Workflow file for this run

name: Examples & Templates
on:
push:
branches:
- 'main'
paths:
- 'examples/**/*'
- 'templates/**/*'
pull_request:
paths:
- 'examples/**/*'
- 'templates/**/*'
jobs:
examples:
runs-on: ubuntu-latest
strategy:
matrix:
path:
- nextjs-app
- nextjs-pages
- remix-ts
- vite-ts
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version-file: '.nvmrc'
- name: Install
run: npm ci
working-directory: examples/${{ matrix.path }}
- name: Build
run: npm run build
working-directory: examples/${{ matrix.path }}
- name: Test
run: npm run test --if-present
working-directory: examples/${{ matrix.path }}
- name: ESLint
run: npm run lint --if-present
working-directory: examples/${{ matrix.path }}
templates:
runs-on: ubuntu-latest
strategy:
matrix:
path:
- nextjs-app
- nextjs-pages
- vite-ts
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version-file: '.nvmrc'
- name: Install
run: npm ci
working-directory: templates/${{ matrix.path }}
- name: Build
run: npm run build
working-directory: templates/${{ matrix.path }}
- name: Test
run: npm run test --if-present
working-directory: templates/${{ matrix.path }}
- name: ESLint
run: npm run lint --if-present
working-directory: templates/${{ matrix.path }}