Skip to content

Commit

Permalink
add tsnode, clean invoke webhook yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Daven-L committed Sep 1, 2023
1 parent 270359a commit 60f8117
Show file tree
Hide file tree
Showing 3 changed files with 281 additions and 19 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/screenshot_and_invoke_webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,10 @@ jobs:
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
# - uses: actions/upload-artifact@v3
# if: always()
# with:
# name: playwright-report
# path: playwright-report/
# retention-days: 30

- name: Use API Key
- name: Import WEBHOOK_URL
env:
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
run: |
echo "Using the WEBHOOK_URL: $WEBHOOK_URL"
touch .env && echo "WEBHOOK_URL=$WEBHOOK_URL" >> .env
# invoke-webhook:
# runs-on: ubuntu-latest
# needs: test
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 18
- name: Invoke Webhook
run: npx ts-node src/app.ts
Loading

0 comments on commit 60f8117

Please sign in to comment.