Skip to content

feat: cypress text

feat: cypress text #1

Workflow file for this run

name: Cypress Tests

Check failure on line 1 in .github/workflows/e2e-text.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/e2e-text.yaml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: cypress-run
on: push
jobs:
cypress-run:
runs-on: ubuntu-22.04
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@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '18.x'
- run: yarn
- name: Set environment variables
run: |
echo "REACT_APP_API_URL=http://fe.alipay.net:8080" >> $GITHUB_ENV
echo "PORT=3000" >> $GITHUB_ENV
echo "HOST=fe.alipay.net" >> $GITHUB_ENV
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Install dependencies
run: yarn install
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: yarn build
start: yarn start
browser: chrome