build(deps): bump apollo-server-core from 2.19.0 to 2.26.2 #217
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 UI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- releases/* | |
jobs: | |
install_and_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check token | |
shell: bash | |
run: 'echo "GraphCDN Token: $GRAPHCDN_TOKEN"' | |
env: | |
GRAPHCDN_TOKEN: ${{ secrets.GRAPHCDN_TOKEN }} | |
- name: Setup node 12 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
- name: Get yarn cache | |
id: yarn-cache | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- name: Cache Node.js modules | |
uses: actions/cache@v1 | |
with: | |
path: ${{ steps.yarn-cache.outputs.dir }} | |
key: ${{ runner.OS }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.OS }}-yarn- | |
- name: Install dependencies and test build | |
run: yarn | |
- name: Run build | |
run: yarn build | |
# - name: Push schema | |
# if: github.ref == 'refs/heads/master' | |
# run: npx graphcdn push | |
# env: | |
# GRAPHCDN_TOKEN: ${{ secrets.GRAPHCDN_TOKEN }} |