Skip to content

👷‍♂️Refactor CI flow #5

👷‍♂️Refactor CI flow

👷‍♂️Refactor CI flow #5

Workflow file for this run

name: Run tests
on: push
permissions:
contents: write
pull-requests: write
issues: read
packages: none
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version: '20.10.0'
- name: Install dependencies
run: yarn install
- name: Install cypress
run: yarn cypress install
- name: Build app
run: yarn build
- name: Run app
run: yarn pm2 start next
- name: Run tests
run: yarn cy:run