mirror of
https://github.com/cloudflare/vinext.git
synced 2026-09-14 19:04:59 +08:00
6c33639d4b
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0...3d3c42e5aac5ba805825da76410c181273ba90b1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
62 lines
1.5 KiB
YAML
62 lines
1.5 KiB
YAML
name: "Next.js tip"
|
|
|
|
on:
|
|
workflow_dispatch: # disabled schedule — re-enable once ecosystem tests are stable
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: tip-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
load-repos:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
repos: ${{ steps.read.outputs.repos }}
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- id: read
|
|
run: echo "repos=$(jq -c . .github/repos.json)" >> "$GITHUB_OUTPUT"
|
|
|
|
test:
|
|
name: "${{ matrix.repo.name }} (next@canary)"
|
|
needs: load-repos
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
repo: ${{ fromJson(needs.load-repos.outputs.repos) }}
|
|
uses: ./.github/workflows/ecosystem-run.yml
|
|
with:
|
|
repo_url: ${{ matrix.repo.url }}
|
|
next_version: "canary"
|
|
|
|
notify-on-failure:
|
|
name: Send failure email
|
|
needs: test
|
|
if: failure()
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Setup Vite+
|
|
uses: ./.github/actions/setup
|
|
with:
|
|
cache: false
|
|
run-install: false
|
|
|
|
- name: Send failure notification
|
|
if: env.EMAIL_API_TOKEN != ''
|
|
env:
|
|
EMAIL_API_TOKEN: ${{ secrets.EMAIL_API_TOKEN }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: node .github/scripts/send-email.mjs
|