Skip to content

chore: remove websites #3134

chore: remove websites

chore: remove websites #3134

Workflow file for this run

name: CI
on:
push:
branches:
- dev
pull_request:
workflow_dispatch:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
actions: read
contents: read
env:
NEXT_PUBLIC_TURNSTILE_SITEKEY: 'e2e-sitekey'
jobs:
test-and-lint:
name: Test and Lint
runs-on:
- frontend
- self-hosted
if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || (github.event_name == 'push' && github.ref == 'refs/heads/dev')
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
- name: Setup dependencies
run: |
pnpm install --frozen-lockfile
pnpm cypress install --force
- uses: nrwl/nx-set-shas@v4
- name: Run lint for affected projects
run: pnpm exec nx affected --target lint
- name: Run tests for affected projects
run: pnpm exec nx affected --target test --ci --coverage
- name: Run build for affected projects
run: pnpm exec nx affected --target build
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}