These tests are passing but the process exits code 1. Not sure what the issue is.
Here is my github actions file and an image showing the tests passing with an exit coe
on:
push:
branches:
- main
- staging
- dev
pull_request:
branches:
- main
- staging
- dev
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Read nvmrc
id: nvmrc
uses: browniebroke/read-nvmrc-action@v1
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: '${{ steps.nvmrc.outputs.node_version }}'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: yarn test