build(deps): bump word-wrap from 1.2.3 to 1.2.4 #848
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: Checks | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
concurrency: | |
group: checks-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-checks: | |
name: Run checks | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out Git repository # clone the repo to local ci workspace | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
cache: 'yarn' | |
cache-dependency-path: '**/yarn.lock' | |
- uses: actions/cache@v2 | |
name: Cache Node Modules | |
with: | |
path: | | |
node_modules | |
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-node_modules- | |
- name: Install yarn dependencies | |
run: | | |
yarn install --frozen-lockfile | |
- name: Lint | |
run: | | |
yarn lint | |
- name: Typescript | |
run: | | |
yarn typescript | |
- name: GraphQL | |
env: | |
CONTENTFUL_API_KEY: ${{ secrets.CONTENTFUL_API_KEY }} | |
run: | | |
yarn generate >outout.txt 2> error.txt | |
! grep "FAILED" ./error.txt | |
git diff --exit-code | |