Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

feat: group suggestions for users link #8843

feat: group suggestions for users link

feat: group suggestions for users link #8843

Workflow file for this run

name: Build
on:
pull_request:
paths:
- pages/**
- tests/**
- components/**
- config/**
- tailwind.config.js
- package.json
- next.config.mjs
- models/**
jobs:
build:
runs-on: ubuntu-latest
services:
mongo:
image: mongo
ports:
- 27017:27017
strategy:
matrix:
step: [lint, build]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- name: install dependencies
run: npm ci
- name: run ${{ matrix.step }}
run: npm run ${{ matrix.step }}
tests:
needs: build
runs-on: ubuntu-latest
services:
mongo:
image: mongo
ports:
- 27017:27017
strategy:
fail-fast: false
matrix:
shardIndex: [1, 2, 3, 4, 5]
shardTotal: [5]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- name: install dependencies
run: npm ci
- name: Install Playwright's dependencies
run: npx playwright install chromium
- name: run tests
run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
- uses: test-summary/action@v2.0
with:
paths: "results.xml"