Skip to content

Fix https://github.com/andymatuschak/orbit/issues/297 #165

Fix https://github.com/andymatuschak/orbit/issues/297

Fix https://github.com/andymatuschak/orbit/issues/297 #165

Workflow file for this run

name: ts
on:
push:
branches:
- master
paths:
- "**/*.ts"
- "**/*.tsx"
- "**/*.js"
- "**/*.jsx"
pull_request:
branches:
- master
paths:
- "**/*.ts"
- "**/*.tsx"
- "**/*.js"
- "**/*.jsx"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: "install dependencies"
run: yarn install
- name: "run lint"
run: "yarn lint"
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: "install dependencies"
run: yarn install
- name: "run build"
run: "yarn build"
- name: "run test"
run: "yarn test"
stale-api-schema:
name: Generated API schema matches source interfaces
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: "install dependencies"
run: yarn install
- name: "run build"
run: "yarn build"
- name: "run generateSchema for the API"
working-directory: packages/api
run: "yarn generateSchema"
- name: "check if changes are pending"
run: "git diff --exit-code"
- name: "run generateSchema for the events validator"
working-directory: packages/store-shared
run: "yarn generateSchema"
- name: "run generateSchema for the ingester validator"
working-directory: packages/ingester
run: "yarn generateSchema"
- name: "check if changes are pending"
run: "git diff --exit-code"
working-directory: packages