#1376 Unify robots file #3306
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: Validate code | |
on: [ pull_request ] | |
jobs: | |
build: | |
name: Typescript check | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./next | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- run: yarn --frozen-lockfile | |
- name: Typescript check | |
uses: EPMatt/reviewdog-action-tsc@v1 | |
with: | |
# Change reviewdog reporter if you need | |
# [github-pr-check,github-check,github-pr-review]. | |
# More about reviewdog reporters at | |
# https://github.com/reviewdog/reviewdog#reporters | |
reporter: github-check | |
# Change reporter level if you need | |
# [info,warning,error]. | |
# More about reviewdog reporter level at | |
# https://github.com/reviewdog/reviewdog#reporters | |
level: warning | |
workdir: ./next | |
- name: Typescript strict plugin check | |
run: yarn typecheck | |
# Commented out because a) eslint currently can't error (all errors are warnings) and b) it's incorrectly setup and never passes | |
# Fix the latter whenever the former gets solved | |
# - name: ESlint check | |
# uses: sibiraj-s/action-eslint@v2 | |
# with: | |
# eslint-args: '--ignore-path=.gitignore --quiet' | |
# extensions: 'js,jsx,ts,tsx' | |
# annotations: true |