chore: updates and fixes #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |