Merge pull request #36 from BKWLD/improve-responsive-support #104
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: 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/react | |
- 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 }} |