juzhiyuan commented on a change in pull request #619: URL: https://github.com/apache/apisix-dashboard/pull/619#discussion_r513919280
########## File path: .github/workflows/frontend-e2e-test.yml ########## @@ -0,0 +1,31 @@ +name: Front-end e2e test + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + frontend-e2e: + name: Front-end e2e test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Setup Node.JS environment for Front-end + uses: actions/setup-node@v1 + with: + node-version: 14.x + + - name: Install Front-end dependencies + run: yarn install + + - name: start Front-end and Test + run: | + yarn start & + sleep 10 && + curl http://localhost:8000 && + yarn test Review comment: new line ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
