feat: turn additional delay in commitment windows only to slots also … #2111
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 UI Tests | |
on: | |
push: | |
branches-ignore: | |
- "main" | |
- "develop" | |
pull_request: | |
branches-ignore: | |
- "main" | |
jobs: | |
test: | |
runs-on: self-hosted | |
env: | |
APP_SERVER_URL: ${{ secrets.APP_SERVER_URL }} | |
TARGET_NETWORK: ${{ secrets.TARGET_NETWORK }} | |
EVENT_ID: ${{ secrets.EVENT_ID }} | |
CATEGORY_ID: ${{ secrets.CATEGORY_ID }} | |
COMMIT_HASH: ${{ secrets.COMMIT_HASH }} | |
SUPPORTED_WALLETS: ${{ github.sha }} | |
steps: | |
- name: ⬇️ Checkout repository | |
uses: actions/checkout@v3 | |
- name: 🫡 Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18 | |
- name: 🧘♀️ Download cip-1694 dependencies | |
run: | | |
cd ui/cip-1694 | |
npm i | |
- name: 🎳 Run cip-1694 tests | |
run: | | |
cd ui/cip-1694 | |
npm run test --env=node | |
- name: 🎳 Build cip-1694 | |
run: | | |
cd ui/cip-1694 | |
npm run build | |
- name: 🧘♀️ Download verification-app dependencies | |
run: | | |
cd ui/verification-app | |
npm i | |
- name: 🎳 Run verification-app tests | |
run: | | |
cd ui/verification-app | |
npm run test --env=node | |
- name: 🎳 Build verification-app | |
run: | | |
cd ui/verification-app | |
npm run build | |
# temporarily disable upload | |
# - name: Upload build | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# path: ui/cip-1694/build |