generated from chiffre-io/template-library
-
-
Notifications
You must be signed in to change notification settings - Fork 127
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-latest
name: Check for relevant Next.js core changes
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b
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 }}