bumping minor to capture new schema addition #1131
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: Build and Test | |
on: [push] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
build-and-test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Get Node version | |
id: get-node-version | |
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ steps.get-node-version.outputs.NODE_VERSION }} | |
- name: Cache dependencies | |
id: cache-dependencies | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cache/yarn | |
node_modules | |
key: ${{ steps.get-node-version.outputs.NODE_VERSION }}-${{ hashFiles('yarn.lock') }} | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile --prefer-offline | |
env: | |
YARN_CACHE_FOLDER: ~/.cache/yarn | |
- name: Run Build | |
run: yarn build | |
- name: Run Yarn danger | |
run: yarn danger ci | |
- name: Run Tests | |
run: yarn test | |