mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-27 18:01:54 +02:00
a35c8b9009
* add index notation * add types check
28 lines
550 B
YAML
28 lines
550 B
YAML
name: TypeScript Check
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'types/index.d.ts'
|
|
|
|
jobs:
|
|
tsc:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12
|
|
|
|
- name: Install TypeScript
|
|
run: npm install -g typescript
|
|
|
|
- name: Install required dependencies
|
|
run: npm i --only=production --no-optional --no-audit --ignore-scripts
|
|
|
|
- name: Check typings file
|
|
run: tsc types/index.d.ts
|