Skip to content

v0.3.1

v0.3.1 #42

Workflow file for this run

name: Cypress Tests
on: [push]
# This configuration is largely from the Cypress dashboard.
jobs:
cypress-run:
runs-on: ubuntu-latest
strategy:
matrix:
dir:
- packages/next
- packages/sanity-next
steps:
- name: Install
uses: bkwld/cloak-actions/install@v1
- name: Cypress run
uses: cypress-io/github-action@v5
with:
install: false
working-directory: ${{ matrix.dir }}
component: true
record: true
env:
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NEXT_PUBLIC_SANITY_DATASET: ${{ secrets.NEXT_PUBLIC_SANITY_DATASET }}
NEXT_PUBLIC_SANITY_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_SANITY_PROJECT_ID }}