Skip to content

0.0.12

0.0.12 #74

Workflow file for this run

name: Validate TypeScript
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 14.x
- name: Install dependencies
run: npm ci
- name: Validate TypeScript
run: npm test
- name: Validate individual .d.ts files
run: |
set -e
for i in index.d.ts types/*.d.ts; do
echo "Validating $i"
npx tsc "$i" --target es6 --noEmit
done