Skip to content

Add automerge-repo-react-hooks tests #192

Add automerge-repo-react-hooks tests

Add automerge-repo-react-hooks tests #192

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review, review_requested]
branches:
- main
jobs:
run-tests:
if: github.event.pull_request.draft == false
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Install and Build
run: |
yarn install --no-lockfile
yarn build
- name: Run Tests
run: yarn test