Skip to content

Commit

Permalink
fix: typechecking needs some files from build
Browse files Browse the repository at this point in the history
  • Loading branch information
trevormunoz committed Jul 30, 2024
1 parent e29a6ce commit cc50da7
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/run-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,29 @@ on:
pull_request:
branches: [main]
workflow_dispatch:
secrets:
AIRTABLE_TOKEN:
required: true

jobs:
typescript-check:
runs-on: ubuntu-latest
env:
AIRTABLE_TOKEN: ${{ secrets.AIRTABLE_TOKEN }}
AIRTABLE_PEOPLE_BASE_ID: appk2btw36qEO3vFo
AIRTABLE_RESEARCH_BASE_ID: appTv9J1zxqaNgBHi
AIRTABLE_EVENTS_BASE_ID: tbl6CURONRn8ML6le
AIRTABLE_POSTS_BASE_ID: appsY0VXF7pbv3mKR
AIRTABLE_MITH_BASE_ID: appMWsw8HKjjokBg2

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: npm install
- name: Install dependencies and build
run: |
npm ci
npm run build-pages
- name: Run TypeScript check
run: npm run check

0 comments on commit cc50da7

Please sign in to comment.