Skip to content

Fix issue list number of events and users #6

Fix issue list number of events and users

Fix issue list number of events and users #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: npm ci
lint:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: npm ci
- run: npm run lint:code
- run: npm run lint:styles
- run: npm run prettier
- run: npm run check:types
build:
runs-on: ubuntu-latest
needs: install
env:
NEXT_PUBLIC_API_BASE_URL: ${{vars.NEXT_PUBLIC_API_BASE_URL}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: npm ci
- run: npm run build
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: nextjs-build
path: .next/
e2e:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: npm ci
- name: Download build artifacts
uses: actions/download-artifact@v3
with:
name: nextjs-build
path: .next/
- name: Cypress run
uses: cypress-io/github-action@v4
with:
start: npm start