From 01d375053fb3dcc7f562c8296932908777ceebcb Mon Sep 17 00:00:00 2001 From: Marco Madera Date: Mon, 11 Dec 2023 22:52:59 -0700 Subject: [PATCH] update deps (#233) --- .github/workflows/tests.yml | 25 +- .../CheckBoxControl/CheckBoxControl.tsx | 1 + .../EditPlaylistDetails.tsx | 1 + components/FormToggle/FormToggle.tsx | 1 + components/PageHeader/PageHeader.tsx | 8 +- components/Player/Player.tsx | 4 +- components/Slider/Slider.tsx | 4 +- .../TrackListHeader/TrackListHeader.tsx | 8 +- layouts/playlist/index.tsx | 16 +- package-lock.json | 4301 ++++++++--------- package.json | 68 +- pages/api/concert-cover.tsx | 3 +- pages/api/radio-cover.tsx | 20 +- pages/api/top-tracks-cover.tsx | 5 +- pages/track/[id].tsx | 14 +- types/analytics.ts | 16 +- 16 files changed, 2222 insertions(+), 2273 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9e4b3631..400ea0ad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,26 +5,25 @@ name: Tests on: pull_request: - branches: [ "main" ] + branches: ["main"] jobs: build: - runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm install --force - - run: npm run test:ci - - name: Run eslint - run: npm run lint + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: "npm" + - run: npm install --force + - run: npm run test:ci + - name: Run eslint + run: npm run lint diff --git a/components/CheckBoxControl/CheckBoxControl.tsx b/components/CheckBoxControl/CheckBoxControl.tsx index 32eb4a7f..c43bf9e2 100644 --- a/components/CheckBoxControl/CheckBoxControl.tsx +++ b/components/CheckBoxControl/CheckBoxControl.tsx @@ -9,6 +9,7 @@ export default function CheckBoxControl( return (
+ {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */} diff --git a/components/EditPlaylistDetails/EditPlaylistDetails.tsx b/components/EditPlaylistDetails/EditPlaylistDetails.tsx index 60be846e..53044d7e 100644 --- a/components/EditPlaylistDetails/EditPlaylistDetails.tsx +++ b/components/EditPlaylistDetails/EditPlaylistDetails.tsx @@ -155,6 +155,7 @@ export default function EditPlaylistDetails({
+ {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}