Skip to content

Commit

Permalink
chore: typecheck in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
thepassle committed Apr 3, 2024
1 parent c0a2346 commit 6571ed2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches: [ "main" ]

jobs:
build:
test:

runs-on: ubuntu-latest

Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Typecheck

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
typecheck:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run lint:types

0 comments on commit 6571ed2

Please sign in to comment.