Skip to content

feat: Integrate CircleCI #4

feat: Integrate CircleCI

feat: Integrate CircleCI #4

name: Run Tests on PR
on:
pull_request:
branches:
- main
jobs:
typescript-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Read Node.js version from .nvmrc
id: nvmrc
run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Check for TypeScript issues
run: yarn tsc --noEmit