[ENH] Query tool ai UI integration #631
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
e2e-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up node env | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Create .env file | |
run: | | |
echo -e "NB_API_QUERY_URL=https://federate.neurobagel.org/\nNB_ENABLE_AUTH=true\nNB_QUERY_CLIENT_ID=mockclientid" > .env | |
- name: build | |
run: npm install && npm run build | |
- name: Run end to end tests | |
uses: cypress-io/github-action@v6 | |
with: | |
wait-on: http://localhost:5173 | |
start: npm run preview | |
component: false |