add two more error messages into DUPLICATE status #308
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
push: | |
branches: [master, staging, develop] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Setup: Node.js" | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "20.9.0" | |
- name: "Setup: Git checkout" | |
uses: actions/checkout@v2 | |
- name: "Setup: Copy cached dependencies" | |
uses: actions/cache@v2 | |
id: yarn-cache | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: "Setup: Install dependencies" | |
if: steps.yarn-cache.outputs.cache-hit != 'true' | |
run: yarn | |
- name: "Test: Lint" | |
run: yarn lint | |
- name: "Test: Jest" | |
run: docker-compose run app yarn test |