This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
Merge pull request #139 from pubnub/techwritermat-patch-1 #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
typescript: | |
name: TypeScript type checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Cache React Chat Component dependencies | |
uses: actions/cache@v3 | |
with: | |
key: ${{ runner.os }}-yarn-rcc-${{ hashFiles('yarn.lock') }} | |
restore-keys: ${{ runner.os }}-yarn-rcc- | |
path: '**/node_modules' | |
- name: Run types validation | |
shell: bash | |
run: | | |
yarn install --prefer-offline --frozen-lockfile | |
yarn run tsc |