Skip to content

using yarn and switching up next 13 conventions #1071

using yarn and switching up next 13 conventions

using yarn and switching up next 13 conventions #1071

Workflow file for this run

name: E2E Testing
on: [push]
jobs:
e2e:
runs-on: ubuntu-latest
env:
NEXT_TELEMETRY_DISABLED: 1
strategy:
matrix:
node-version: [16.x, 18.x]
services:
mongodb:
image: mongo:4.4
ports:
- 27017:27017
steps:
- uses: actions/cache@v3
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install deps
run: yarn install
- name: Install Playwright
run: yarn deps
- name: Build Project for Testing
run: yarn build
- name: Run Playwright
run: yarn test