chore(repo): bump frontend deps #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Monitors | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths: | |
- "packages/monitors/**" | |
- "!packages/monitors/**/*.md" | |
branches-ignore: | |
- release-please--branches--** | |
jobs: | |
deploy-protocol-monitors: | |
if: ${{ github.event.pull_request.draft == false && !startsWith(github.head_ref, 'release-please') }} | |
runs-on: [taiko-runner] | |
permissions: | |
# Give the necessary permissions for stefanzweifel/git-auto-commit-action. | |
contents: write | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install pnpm dependencies | |
uses: ./.github/actions/install-pnpm-dependencies | |
- name: Deploy Monitors on OZ Defender | |
working-directory: packages/monitors/defender/mainnet | |
env: | |
DEFENDER_API_KEY: ${{ secrets.DEFENDER_API_KEY }} | |
DEFENDER_API_SECRET: ${{ secrets.DEFENDER_API_SECRET }} | |
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }} | |
run: | | |
npx serverless deploy |