From a2f434968a9d53ba03f7e92a58a06aa5f78c0744 Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Fri, 3 Nov 2023 23:31:40 +0100 Subject: [PATCH] fix build: setup pnpm, update image tags and ignore out of date warning for SDK versions --- .github/workflows/cicd.yaml | 8 ++++---- .github/workflows/docs.yaml | 6 +++++- SpotifyAPI.Web.Auth/SpotifyAPI.Web.Auth.csproj | 1 + SpotifyAPI.Web/SpotifyAPI.Web.csproj | 1 + 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 51cfaf52..aae5fbb8 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -9,14 +9,14 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v2 - - uses: actions/setup-dotnet@v1 + uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v3 with: dotnet-version: "5.x" - - uses: actions/setup-dotnet@v1 + - uses: actions/setup-dotnet@v3 with: dotnet-version: "6.x" - - uses: actions/setup-dotnet@v1 + - uses: actions/setup-dotnet@v3 with: dotnet-version: "7.0.203" - name: Set RELEASE_VERSION diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 45c4923b..48028c9d 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -14,7 +14,11 @@ jobs: - name: Use Node.JS uses: actions/setup-node@v1 with: - node-version: 18.12.1 + node-version: v20.9.0 + cache: "pnpm" + - uses: pnpm/action-setup@v2 + with: + version: 8 - name: Setup GitHub Deploy SSH Key uses: webfactory/ssh-agent@v0.4.1 with: diff --git a/SpotifyAPI.Web.Auth/SpotifyAPI.Web.Auth.csproj b/SpotifyAPI.Web.Auth/SpotifyAPI.Web.Auth.csproj index 1ce9f5be..7d6e00fb 100644 --- a/SpotifyAPI.Web.Auth/SpotifyAPI.Web.Auth.csproj +++ b/SpotifyAPI.Web.Auth/SpotifyAPI.Web.Auth.csproj @@ -23,6 +23,7 @@ true true 1591 + false diff --git a/SpotifyAPI.Web/SpotifyAPI.Web.csproj b/SpotifyAPI.Web/SpotifyAPI.Web.csproj index e1ebc477..b9c50006 100644 --- a/SpotifyAPI.Web/SpotifyAPI.Web.csproj +++ b/SpotifyAPI.Web/SpotifyAPI.Web.csproj @@ -24,6 +24,7 @@ true true 1591 + false