fix: ts config and add i18n for json content #141
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: Run Voting App Cypress Tests | |
on: | |
push: | |
branches-ignore: | |
- "main" | |
pull_request: | |
branches-ignore: | |
- "main" | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: self-hosted | |
steps: | |
- name: ⬇️ Checkout repository | |
uses: actions/checkout@v3 | |
- 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 ci | |
- name: 🎳 Run tests | |
run: | | |
cd ui | |
cd cip-1694 | |
npm test |