Skip to content

Merge pull request #67 from richpjames/dependabot/npm_and_yarn/semver… #163

Merge pull request #67 from richpjames/dependabot/npm_and_yarn/semver…

Merge pull request #67 from richpjames/dependabot/npm_and_yarn/semver… #163

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
CLOUDINARY_CLOUD_NAME: ${{ secrets.CLOUDINARY_CLOUD_NAME }}
CLOUDINARY_API_KEY: ${{ secrets.CLOUDINARY_API_KEY }}
CLOUDINARY_API_SECRET: ${{ secrets.CLOUDINARY_API_SECRET }}
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
e2e_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Run install
run: yarn install
- name: run typecheck
run: yarn run typecheck
- name: cypress & percy test
uses: percy/[email protected]
with:
command: "yarn ci"
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}