32 lines
619 B
YAML
32 lines
619 B
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
|
|
uses: niniyas/ntfy-action@master
|
|
with:
|
|
url: ${{ secrets.NTFY_URL }}
|
|
topic: ${{ secrets.NTFY_TOPIC }}
|
|
headers: '{"authorization": "Bearer tk_fbhpf1fpuea0qneljvhp7jvt68lmb"}'
|
|
|
|
|