update reference navigation #11575
Workflow file for this run
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: typescript | |
on: [push] | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
typescript: | |
name: Typescript | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: guardian/actions-setup-node@main | |
# Cache npm dependencies using https://github.com/bahmutov/npm-install | |
- uses: bahmutov/npm-install@v1 | |
- name: Install | |
run: yarn | |
- name: Lint files | |
run: yarn eslint static/src/javascripts --ext=ts,tsx | |
- name: Check typescript | |
run: yarn tsc |