Skip to content

chore(deps): update dependency eslint to ^9.18.0 #4

chore(deps): update dependency eslint to ^9.18.0

chore(deps): update dependency eslint to ^9.18.0 #4

Workflow file for this run

name: Quality Gate
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
RESEND_API_KEY: 're_test'
EMAIL_FROM: 'test'
NEXT_PUBLIC_URL: 'https://www.nerdfish.be'
GROQ_API_KEY: 'test'
jobs:
format:
name: Format
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install
uses: ./packages/github-actions/install
- name: Run format
run: pnpm format
lint:
name: Lint
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install
uses: ./packages/github-actions/install
- name: Build for types
run: pnpm run build:content-collections
- name: Run lint
run: pnpm lint
typecheck:
name: TypeCheck
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install
uses: ./packages/github-actions/install
- name: Build for types
run: pnpm run build:content-collections
- name: Cache TypeScript TSBuild Info Files
id: cache-typescript-tsbuildinfo
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
with:
path: node_modules/.cache/*-tsbuildinfo.json
# We use the commit hash as the key to always update the cache as a
# workaround to this issue:
# https://github.com/actions/cache/issues/106
key: ${{ runner.os }}-cache-typescript-tsbuildinfo-${{ github.sha }}
restore-keys: ${{ runner.os }}-cache-typescript-tsbuildinfo-
- name: Run TypeScript type check
run: pnpm run typecheck
e2e:
name: E2E
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install
uses: ./packages/github-actions/install
- name: Install Playwright Browsers
run: pnpm exec playwright install chromium --with-deps
- name: Build
run: pnpm build
- name: Run Playwright tests
run: turbo test:e2e --continue
env:
SKIP_EMAILS: true
- name: Upload report
if: always()
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
with:
name: playwright-report-${{ github.event.number }} # E.g. playwright-123
path: playwright-report
retention-days: 7