From 8a8eda0f5e472305b4cf93c3a8c1147f404b1d6d Mon Sep 17 00:00:00 2001 From: Julien Dubois Date: Thu, 24 Aug 2023 11:13:08 +0200 Subject: [PATCH 1/2] Upgrade to the latest actions/checkout --- .github/workflows/update-gh-pages.yml | 2 +- .github/workflows/update-jhipster-online.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-gh-pages.yml b/.github/workflows/update-gh-pages.yml index bdd9c43..8145f53 100644 --- a/.github/workflows/update-gh-pages.yml +++ b/.github/workflows/update-gh-pages.yml @@ -24,7 +24,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: NPM install run: npm i - name: NPM deploy diff --git a/.github/workflows/update-jhipster-online.yml b/.github/workflows/update-jhipster-online.yml index 0744ed8..9c8cd1e 100644 --- a/.github/workflows/update-jhipster-online.yml +++ b/.github/workflows/update-jhipster-online.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest steps: # Checkout jhipster-online with submodules - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: repository: 'jhipster/jhipster-online' submodules: 'true' From 158c32d25b2adee24a45b534276b3a546d1f7280 Mon Sep 17 00:00:00 2001 From: Julien Dubois Date: Thu, 24 Aug 2023 11:14:34 +0200 Subject: [PATCH 2/2] Use `--legacy-peer-deps` as advised by @deepu105 --- .github/workflows/update-gh-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-gh-pages.yml b/.github/workflows/update-gh-pages.yml index 8145f53..bf704cd 100644 --- a/.github/workflows/update-gh-pages.yml +++ b/.github/workflows/update-gh-pages.yml @@ -26,6 +26,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: NPM install - run: npm i + run: npm i --legacy-peer-deps - name: NPM deploy run: npm run deploy