chore(deps): bump @typescript-eslint/eslint-plugin from 7.0.0 to 8.14.0 #5148
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |