generated from chiffre-io/template-library
-
-
Notifications
You must be signed in to change notification settings - Fork 126
34 lines (31 loc) · 1.09 KB
/
analyse-nextjs-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: 'Analyse Next.js release'
run-name: 'Analyse Next.js ${{ inputs.version }}'
on:
workflow_dispatch:
inputs:
version:
description: 'Next.js version to test against'
required: true
type: string
env:
FORCE_COLOR: 3 # Diplay chalk colors
jobs:
analyse-release:
runs-on: ubuntu-24.04
name: Check for relevant Next.js core changes
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
with:
node-version-file: .node-version
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Check for changes in app router
run: ./next-release-analyser.mjs --version ${{ inputs.version }}
working-directory: packages/scripts
env:
MAILPACE_API_TOKEN: ${{ secrets.MAILPACE_API_TOKEN }}
EMAIL_ADDRESS_TO: ${{ secrets.EMAIL_ADDRESS_TO }}
EMAIL_ADDRESS_FROM: ${{ secrets.EMAIL_ADDRESS_FROM }}