Skip to content

Commit

Permalink
Merge pull request #141 from MasterOdin/test-ts-types
Browse files Browse the repository at this point in the history
Test TS types in CI
  • Loading branch information
eriktrom authored Aug 13, 2022
2 parents 26951d1 + 2c6f9c1 commit eebd3bd
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on: [push, pull_request]

jobs:
build:
test:
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -33,3 +33,21 @@ jobs:
run: set DEBUG=*

- run: npm test

test-types:
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
cache: 'npm'

- name: Install dependencies
run: npm install

- name: Install typescript
run: npm install --save-dev typescript

- run: node_modules/.bin/tsc lib/portfinder.d.ts

0 comments on commit eebd3bd

Please sign in to comment.