Skip to content

apple-calendar-error-handle-retry (#2485) #133

apple-calendar-error-handle-retry (#2485)

apple-calendar-error-handle-retry (#2485) #133

Workflow file for this run

on:

Check failure on line 1 in .github/workflows/api_ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/api_ci.yaml

Invalid workflow file

(Line: 11, Col: 5): you may only define one of `branches` and `branches-ignore` for a single event
workflow_dispatch:
push:
branches:
- main
paths:
- apps/api/**
pull_request:
branches:
- main
branches-ignore:
- "**/graphite-base/**"
paths:
- apps/api/**
jobs:
optimize_ci:
runs-on: ubuntu-latest
outputs:
skip: ${{ steps.check_skip.outputs.skip }}
steps:
- uses: actions/checkout@v4
- id: check_skip
uses: ./.github/actions/graphite_optimizer
with:
graphite_token: ${{ secrets.GRAPHITE_TOKEN }}
ci:
needs: optimize_ci
if: needs.optimize_ci.outputs.skip == 'false'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm_install
- uses: ./.github/actions/bun_install
- run: pnpm -F @hypr/api typecheck
- run: pnpm -F @hypr/api test