ingester now updates task provenance when source metadata changes #160
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: 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 |