Skip to content

chore(deps): bump @next/mdx from 15.0.2 to 15.0.3 #5125

chore(deps): bump @next/mdx from 15.0.2 to 15.0.3

chore(deps): bump @next/mdx from 15.0.2 to 15.0.3 #5125

Workflow file for this run

name: CI
on:
pull_request:
workflow_dispatch:
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node
uses: actions/[email protected]
with:
node-version-file: package.json
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Next build cache
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
- name: Build
run: npm run build
env:
GOOGLE_MEASUREMENT_ID: ${{ secrets.GOOGLE_MEASUREMENT_ID }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_MUSIC_KEY_ID: ${{ secrets.APPLE_MUSIC_KEY_ID }}
APPLE_MUSIC_PRIVATE_KEY: ${{ secrets.APPLE_MUSIC_PRIVATE_KEY }}
APPLE_MUSIC_USER_TOKEN: ${{ secrets.APPLE_MUSIC_USER_TOKEN }}
- name: Project cache
uses: actions/cache@v4
with:
path: |
/home/runner/.cache/Cypress/*
${{ github.workspace }}/*
key: ${{ github.sha }}
Lint:
runs-on: ubuntu-latest
needs: Build
steps:
- name: Project cache
uses: actions/cache@v4
with:
path: |
/home/runner/.cache/Cypress/*
${{ github.workspace }}/*
key: ${{ github.sha }}
- name: Lint
run: npm run lint
Test:
runs-on: ubuntu-latest
needs: Build
steps:
- name: Project cache
uses: actions/cache@v4
with:
path: |
/home/runner/.cache/Cypress/*
${{ github.workspace }}/*
key: ${{ github.sha }}
- name: Cypress
uses: cypress-io/github-action@v6
with:
start: npm run start
wait-on: 'http://localhost:3000'
record: true
group: 'Site'
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOOGLE_MEASUREMENT_ID: ${{ secrets.GOOGLE_MEASUREMENT_ID }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_MUSIC_KEY_ID: ${{ secrets.APPLE_MUSIC_KEY_ID }}
APPLE_MUSIC_PRIVATE_KEY: ${{ secrets.APPLE_MUSIC_PRIVATE_KEY }}
APPLE_MUSIC_USER_TOKEN: ${{ secrets.APPLE_MUSIC_USER_TOKEN }}
Success:
runs-on: ubuntu-latest
needs: [Build, Lint, Test]
if: always()
steps:
- run: exit 1
if: ${{ always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) }}
- name: Assign dependabot failures
run: gh pr edit ${{ github.event.pull_request.number }} --add-assignee "jacoblapworth"
if: ${{ failure() && github.actor == 'dependabot[bot]' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}