A Github Action that sets up a NodeJS environment, checks out the repository, and installs dependencies.
- Checkout - to clone the repo
- N/A
name: Testing
on: [ pull_request ]
jobs:
test_ts:
name: Type Validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup
id: setup
uses: prefecthq/actions-setup-nodejs@main
- name: Run tests
run: npm run test