LICENSE.md: AGPLv3 #2905
Workflow file for this run
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: End-to-end Tests (cypress) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-22.04 | |
environment: cypress | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Create temporary .npmrc for GitHub Actions | |
run: | | |
echo "@bldrs-ai:registry=https://npm.pkg.github.com" > .npmrc | |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc | |
- run: yarn install | |
- run: yarn cy-build | |
# Ensure your build script correctly outputs to the ./docs directory | |
env: | |
NODE_ENV: production | |
SHARE_CONFIG: cypress | |
- uses: cypress-io/github-action@v5 | |
with: | |
browser: chrome | |
command: yarn cy | |
env: | |
# Ensure this matches the cypress build value in tools/esbuild/vars.cypress.js | |
GITHUB_BASE_URL: https://git.bldrs.dev.cy/p/gh | |
GITHUB_BASE_URL_UNAUTHENTICATED: https://api.github.com.cy | |
RAW_GIT_PROXY_URL_NEW: https://rawgit.bldrs.dev.cy/model | |
RAW_GIT_PROXY_URL: https://rawgit.bldrs.dev.cy/r | |
MSW_IS_ENABLED: true |