Skip to content

Commit

Permalink
ci: add typecheck step to ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Aug 30, 2022
1 parent 98a9655 commit cfea21e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,25 @@ jobs:
with:
name: playwright-report
path: .playwright

typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: '16.x'
- uses: actions/cache@v3
id: cache
with:
path: |
node_modules
*/**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install --immutable --immutable-cache
- name: Build project
run: yarn build --ignore '@carbon/sketch'
- name: Typecheck TypeScript files
run: yarn typecheck

0 comments on commit cfea21e

Please sign in to comment.