Skip to content

chore: CI fix attempt #138

chore: CI fix attempt

chore: CI fix attempt #138

Workflow file for this run

name: Run Voting App Cypress Tests
on:
push:
branches-ignore:
- "main"
pull_request:
branches-ignore:
- "main"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repository
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: 🦾 Create .env file
run: |
echo "PORT=3000" > .env
echo "REACT_APP_VERSION=$npm_package_version" >> .env
- name: 🫡 Setup node
uses: actions/setup-node@v1
with:
node-version: 16
- name: 🧘‍♀️ Download dependencies
run: |
cd ui
cd cip-1694
npm i
- name: 🎳 Run tests
run: |
cd ui
cd cip-1694
npm test