Skip to content

chore(deps-dev): bump eslint from 8.57.1 to 9.16.0 #3307

chore(deps-dev): bump eslint from 8.57.1 to 9.16.0

chore(deps-dev): bump eslint from 8.57.1 to 9.16.0 #3307

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v4
- name: Setup node env 🏗
uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
- name: Cache node_modules 📦
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies 👨🏻‍💻
run: npm install --prefer-offline --no-audit --legacy-peer-deps
- name: Run linter 👀
env:
NODE_ENV: test
run: npm run lint
- name: Run tests 🧪
run: npm run test
- name: Run build 🚀
env:
GATSBY_SITE_RECAPTCHA_KEY: ${{ secrets.SITE_RECAPTCHA_KEY }}
SITE_RECAPTCHA_SECRET: ${{ secrets.SITE_RECAPTCHA_SECRET }}
NETLIFY_SITE_URL: ${{ secrets.NETLIFY_SITE_URL }}
run: |
echo GATSBY_SITE_RECAPTCHA_KEY=$SITE_RECAPTCHA_KEY >> .env.production
echo SITE_RECAPTCHA_SECRET=$SITE_RECAPTCHA_SECRET >> .env.production
echo NETLIFY_SITE_URL=$NETLIFY_SITE_URL >> .env.production
npm run build
- name: Run lighthouse audit 📱
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run lighthouse
- name: Run cypress 🎉
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GATSBY_SITE_RECAPTCHA_KEY: ${{ secrets.SITE_RECAPTCHA_KEY }}
SITE_RECAPTCHA_SECRET: ${{ secrets.SITE_RECAPTCHA_SECRET }}
NETLIFY_SITE_URL: ${{ secrets.NETLIFY_SITE_URL }}
CYPRESS_NETLIFY_CMS_EMAIL: ${{ secrets.CYPRESS_NETLIFY_CMS_EMAIL }}
CYPRESS_NETLIFY_CMS_PASSWORD: ${{ secrets.CYPRESS_NETLIFY_CMS_PASSWORD }}
run: |
npm run test:e2e:ci
- name: Upload cypress artifacts 📁
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-artifacts
path: |
cypress/screenshots
cypress/videos