From 7820a52609b5fe89725388002004f5da47a149fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Fern=C3=A1ndez?= Date: Wed, 9 Oct 2024 22:15:23 +0000 Subject: [PATCH] Update with upstream changes --- .github/workflows/__package.yml | 1 + .github/workflows/__quality_checks.yml | 1 + .github/workflows/pull_request.yml | 1 + .github/workflows/schedule.yml | 42 -------------------------- 4 files changed, 3 insertions(+), 42 deletions(-) diff --git a/.github/workflows/__package.yml b/.github/workflows/__package.yml index 4b7e15d3bc..e0e9a2a3ba 100644 --- a/.github/workflows/__package.yml +++ b/.github/workflows/__package.yml @@ -22,6 +22,7 @@ jobs: uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: node-version: 20 + cache: npm check-latest: true - name: Install Node.js dependencies diff --git a/.github/workflows/__quality_checks.yml b/.github/workflows/__quality_checks.yml index f89ecc8a56..546d7a954e 100644 --- a/.github/workflows/__quality_checks.yml +++ b/.github/workflows/__quality_checks.yml @@ -51,6 +51,7 @@ jobs: uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: node-version: 20 + cache: npm check-latest: true - name: Install dependencies 📦 diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index de33fd0c42..07f1f467b5 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -88,6 +88,7 @@ jobs: uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: node-version: 20 + cache: npm check-latest: true - name: Install Node.js dependencies diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 809bf4c439..13209c4504 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -48,45 +48,3 @@ jobs: stale-pr-label: merge conflict close-pr-message: |- This PR has been closed due to having unresolved merge conflicts. - - update: - name: Update the Jellyfin SDK - runs-on: ubuntu-latest - if: ${{ github.repository == 'jellyfin/jellyfin-web' }} - - steps: - - name: Check out Git repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - with: - ref: master - token: ${{ secrets.JF_BOT_TOKEN }} - - - name: Set up Node.js - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 - with: - node-version: 20 - check-latest: true - cache: npm - - - name: Install latest unstable SDK - run: | - npm i --save @jellyfin/sdk@unstable - VERSION=$(jq -r '.dependencies["@jellyfin/sdk"]' package.json) - echo "JF_SDK_VERSION=${VERSION}" >> $GITHUB_ENV - - - name: Open a pull request - uses: peter-evans/create-pull-request@8867c4aba1b742c39f8d0ba35429c2dfa4b6cb20 # v7.0.1 - with: - token: ${{ secrets.JF_BOT_TOKEN }} - commit-message: Update @jellyfin/sdk to ${{env.JF_SDK_VERSION}} - committer: jellyfin-bot - author: jellyfin-bot - branch: update-jf-sdk - delete-branch: true - title: Update @jellyfin/sdk to ${{env.JF_SDK_VERSION}} - body: | - **Changes** - Updates to the latest unstable @jellyfin/sdk build - labels: | - dependencies - npm