Skip to content

Merge pull request #13718 from Automattic/vkarpov15/gh-13702 #1728

Merge pull request #13718 from Automattic/vkarpov15/gh-13702

Merge pull request #13718 from Automattic/vkarpov15/gh-13702 #1728

Workflow file for this run

name: Typescript Types
on:
pull_request:
paths:
- '.github/workflows/tsd.yml'
- 'package.json'
- 'types/**'
- 'test/types/**'
push:
branches:
- master
paths:
- '.github/workflows/tsd.yml'
- 'package.json'
- 'types/**'
- 'test/types/**'
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
name: Lint TS-Files
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup node
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: 14
- run: npm install
- name: Lint TS-Files
run: npm run lint-ts
test-ts-types:
needs:
- lint
runs-on: ubuntu-latest
name: Test Typescript Types
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup node
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: 14
- run: npm install
- name: Typings
run: npm run test-tsd