ConceptCreator/.gitea/workflows/demo.yaml
Sebastian Böckelmann 6934bcfb51
Some checks failed
E2E Testing / test (push) Failing after 1m31s
Swap Order of headers and prio
2024-02-15 20:00:55 +01:00

50 lines
1.3 KiB
YAML

name: E2E Testing
on:
push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Run e2e tests
run: npm run e2e
- name: ntfy-notifications-failure
uses: niniyas/ntfy-action@master
if: failure()
with:
url: ${{ secrets.NTFY_URL }}
topic: ${{ secrets.NTFY_TOPIC }}
priority: 5
headers: '{"authorization": "${{ secrets.NTFY_HEADERS }}"}'
tags: +1,partying_face,action,failed
details: Workflow has failed!
actions: 'default'
- name: ntfy-notifications-success
uses: niniyas/ntfy-action@master
if: success()
with:
url: ${{ secrets.NTFY_URL }}
topic: ${{ secrets.NTFY_TOPIC }}
priority: 4
headers: '{"authorization": "${{ secrets.NTFY_HEADERS }}"}'
tags: +1,partying_face,action,successfully,completed
details: Workflow has been successfully completed!
icon: 'https://styles.redditmedia.com/t5_32uhe/styles/communityIcon_xnt6chtnr2j21.png'
image: true