Skip to content

Merge pull request #13543 from Automattic/vkarpov15/gh-13534 #1627

Merge pull request #13543 from Automattic/vkarpov15/gh-13534

Merge pull request #13543 from Automattic/vkarpov15/gh-13534 #1627

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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Setup node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Setup node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 14
- run: npm install
- name: Typings
run: npm run test-tsd