Skip to content

fix: add more functions to realtimelayer #1874

fix: add more functions to realtimelayer

fix: add more functions to realtimelayer #1874

Workflow file for this run

name: Cypress
on: [push]
jobs:
chrome:
runs-on: ubuntu-latest
container:
image: cypress/browsers:node-20.9.0-chrome-118.0.5993.88-1-ff-118.0.2-edge-118.0.2088.46-1
options: --user 1001
steps:
- name: Checkout
uses: actions/checkout@v3
- run: yarn install --frozen-lockfile
- run: yarn cypress info
- run: node --version
- run: node -p 'os.cpus()'
- run: yarn cy:test:chrome
edge:
runs-on: ubuntu-latest
container:
image: cypress/browsers:node-20.9.0-chrome-118.0.5993.88-1-ff-118.0.2-edge-118.0.2088.46-1
options: --user 1001
steps:
- name: Checkout
uses: actions/checkout@v3
- run: yarn install --frozen-lockfile
- run: yarn cypress info
- run: node --version
- run: node -p 'os.cpus()'
- run: yarn cy:test:edge
# chrome:
# runs-on: ubuntu-latest
# container:
# image: cypress/browsers:node16.14.2-slim-chrome100-ff99-edge
# options: --user 1001 # very important otherwise there is a permission error
# needs: install
# strategy:
# # when one test fails, DO NOT cancel the other
# # containers, because this will kill Cypress processes
# # leaving the Dashboard hanging ...
# # https://github.com/cypress-io/github-action/issues/48
# fail-fast: false
# matrix:
# # run copies of the current job in parallel
# containers: [1]
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Download the build folders
# uses: actions/download-artifact@v3
# with:
# name: build
# path: .next
# # Install NPM dependencies, cache them correctly
# # and run all Cypress tests
# - name: Test Chrome
# uses: cypress-io/github-action@v4
# with:
# # Specify Browser since container image is compile with Firefox
# browser: chrome
# start: yarn start
# wait-on: 'http://localhost:3000'
# edge:
# runs-on: ubuntu-latest
# container:
# image: cypress/browsers:node16.14.2-slim-chrome100-ff99-edge
# options: --user 1001 # very important otherwise there is a permission error
# needs: install
# strategy:
# # when one test fails, DO NOT cancel the other
# # containers, because this will kill Cypress processes
# # leaving the Dashboard hanging ...
# # https://github.com/cypress-io/github-action/issues/48
# fail-fast: false
# matrix:
# # run copies of the current job in parallel
# containers: [1]
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Download the build folders
# uses: actions/download-artifact@v3
# with:
# name: build
# path: .next
# # Install NPM dependencies, cache them correctly
# # and run all Cypress tests
# - name: Test Edge
# uses: cypress-io/github-action@v4
# with:
# # Specify Browser since container image is compile with Firefox
# browser: edge
# start: yarn start
# wait-on: 'http://localhost:3000'