Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Look up the supabase auth cookie by its dynamic name #836

Look up the supabase auth cookie by its dynamic name

Look up the supabase auth cookie by its dynamic name #836

Workflow file for this run

name: CI/CD
on: [push]
jobs:
cypress-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- name: Install
run: yarn install --frozen-lockfile
- name: Lint
run: yarn tsc
- name: Jest tests
run: yarn jest --ci
# TODO: The Cypress tests need updating after we've moved to consume REST endpoints. That work is on hold until we decide how to do e2e tests internally.
#
# - name: Build
# run: yarn next build
# env:
# NEXT_PUBLIC_SUPABASE_API_URL: ${{ secrets.SUPABASE_API_URL }}
# NEXT_PUBLIC_SUPABASE_ANON_API_KEY: ${{ secrets.SUPABASE_ANON_API_KEY }}
# NEXT_PUBLIC_USE_LOCAL_MONACO: 'true'
# CI: 'false'
# - name: Run Cypress
# uses: cypress-io/github-action@v2
# with:
# start: yarn serve
# wait-on: http://localhost:3000
# - name: Upload Screenshots
# uses: actions/upload-artifact@v1
# if: failure()
# with:
# name: cypress-screenshots
# path: cypress/screenshots
# - name: Upload Videos
# uses: actions/upload-artifact@v1
# if: always()
# with:
# name: cypress-videos
# path: cypress/videos