Skip to content

fix: guard for unnecessary gas estimation #166

fix: guard for unnecessary gas estimation

fix: guard for unnecessary gas estimation #166

name: Check Frontend Web App
on:
push:
branches:
- development
paths:
- 'web/**'
pull_request:
branches:
- development
paths:
- 'web/**'
jobs:
format:
name: Check Format
uses: ./.github/workflows/format.yml
secrets: inherit
lint:
name: Check Linting
uses: ./.github/workflows/lint.yml
secrets: inherit
unit-test:
name: Unit Tests
uses: ./.github/workflows/tests-unit-js.yml
secrets: inherit
e2e-test:
name: E2E Tests
uses: ./.github/workflows/tests-e2e.yml
secrets: inherit
deploy:
name: Deploy to Cloudflare
uses: ./.github/workflows/deploy-ipfs.yml
secrets: inherit
if: github.event_name == 'push'
needs:
- unit-test
- e2e-test
notify-twist:
runs-on: ubuntu-latest
needs: deploy
if: ${{ needs.deploy.result == 'failure' }}
steps:
- name: Send failure notification to Twist
run: |
curl -X POST ${{ secrets.SPN_TWIST_CI_ERRORS }} \
-H "Content-Type: application/json" \
-d '{
"content": "Deployment failed for commit: **${{ github.event.head_commit.message }}** on branch **${{ github.ref_name }}**"
}'