Skip to content

chore(deps): bump actions/checkout from 4 to 7 #25

chore(deps): bump actions/checkout from 4 to 7

chore(deps): bump actions/checkout from 4 to 7 #25

Workflow file for this run

name: CI
on:
pull_request:
branches: [main, develop]
push:
branches: [main, develop]
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- run: npm ci
name: Install dependencies
- run: npm audit --audit-level=high
name: Audit dependencies
- run: npm run format:check
name: Check code format
- run: npm run lint
name: Lint
- run: npx tsc --noEmit
name: Type check
- run: npm run test:coverage
name: Unit tests with coverage
- uses: actions/upload-artifact@v7
with:
name: coverage-report
path: coverage/
retention-days: 14
- uses: actions/cache@v6
with:
path: .next/cache
key: next-${{ runner.os }}-${{ hashFiles('package-lock.json') }}-${{ hashFiles('src/**') }}
restore-keys: |
next-${{ runner.os }}-${{ hashFiles('package-lock.json') }}-
- run: npm run build
name: Build
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- run: npm ci
name: Install dependencies
- run: npx playwright install --with-deps chromium
name: Install Playwright browser
- run: npm run test:e2e
name: E2E tests
- uses: actions/upload-artifact@v7
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 14