Skip to content

chore: Add pull request action #4

chore: Add pull request action

chore: Add pull request action #4

Workflow file for this run

name: Pull Request
on: pull_request
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
## This step installs node and sets up several matchers (regex matching for Github Annotations). See
## https://github.com/actions/setup-node/blob/25316bbc1f10ac9d8798711f44914b1cf3c4e954/src/main.ts#L58-L65
- uses: actions/setup-node@v3
with:
node-version: 16.x
registry-url: https://registry.npmjs.org
- name: Install Packages
shell: bash
run: npm install --production=false
check:
runs-on: ubuntu-latest
needs: 'install'
steps:
- name: Lint
shell: bash
run: npm run lint
- name: Type Check
shell: bash
run: npm run typecheck
- name: Run Unit Tests
shell: bash
run: npm test