Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Run tests when creating pull request to main #17

Run tests when creating pull request to main

Run tests when creating pull request to main #17

Workflow file for this run

name: PullRequest
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up node
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test
- name: Check linting errors
run: npm run lint