Skip to content

chore: updates and fixes #1

chore: updates and fixes

chore: updates and fixes #1

name: 🟦 Typescript Type Check
on:
push:
branches:
- '**'
tags-ignore:
- 'staging/**'
- 'production/**'
jobs:
check:
name: Type Check
# Running on Lob's GitHub runners
runs-on:
group: Ephemeral
labels: [self-hosted, linux, x64, lob-runner, heavy-duty, ephemeral]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repository
uses: actions/checkout@v4
# Setup node with the set node version
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'npm'
- name: configure npm
run: |
npm set @lob:registry https://registry.npmjs.org/
npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
- name: Install dependencies
run: npm ci --legacy-peer-deps
- name: Run type check
run: npm run type-check
timeout-minutes: 10