migrate graphiql-explorer into the repo, ts conversion #2547
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: Lint & Build PR | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
# TODO: ignore this after setting up a separate task to link markdown | |
# and to ignore eslint/prettier issues in examples | |
# paths-ignore: | |
# - '**.md' | |
# - 'examples' | |
# - '!examples/monaco-graphql-webpack' | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile --immutable | |
- name: TypeScript Build | |
run: yarn build | |
- name: ESLint | |
run: yarn lint |