Skip to content

build(deps-dev): bump ejs from 3.1.7 to 3.1.10 #227

build(deps-dev): bump ejs from 3.1.7 to 3.1.10

build(deps-dev): bump ejs from 3.1.7 to 3.1.10 #227

Workflow file for this run

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 }}