Skip to content

Bump superagent from 9.0.2 to 10.1.0 #46

Bump superagent from 9.0.2 to 10.1.0

Bump superagent from 9.0.2 to 10.1.0 #46

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
test-javascript:
name: JavaScript Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install Dependencies
id: npm-ci
run: npm ci
- name: Check Format
id: npm-format-check
run: npm run format:check
- name: Lint
id: npm-lint
run: npm run lint
#- name: Test
# id: npm-ci-test
# run: npm run ci-test
test-action:
name: Test pagerduty-send-event action
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Test triggering an alert
id: test-trigger-alert
uses: ./
with:
integration-key: ${{ secrets.PAGERDUTY_TESTING_TOKEN }}
dedup-key: ${{ github.run_id }}
event-action: trigger
summary:
'Test alert from ${{ github.repository }} by ${{ github.actor }}'
source: 'GitHub Actions in ${{ github.repository }}'
severity: critical
- name: Test acknowledging an alert
id: test-acknowledge-alert
uses: ./
with:
integration-key: ${{ secrets.PAGERDUTY_TESTING_TOKEN }}
dedup-key: ${{ github.run_id }}
event-action: acknowledge
summary:
'Test alert from ${{ github.repository }} by ${{ github.actor }}'
source: 'GitHub Actions in ${{ github.repository }}'
severity: critical