From 47c84e43af6f8a27ce13023d6c5a29dccb9e25aa Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Fri, 12 Apr 2024 11:59:50 +0200 Subject: [PATCH] fix workflow build --- .github/workflows/deploy-frontend.yml | 13 +++++++------ frontend/package.json | 4 ---- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy-frontend.yml b/.github/workflows/deploy-frontend.yml index 3fc1aed..bb87b07 100644 --- a/.github/workflows/deploy-frontend.yml +++ b/.github/workflows/deploy-frontend.yml @@ -20,11 +20,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 # cache: yarn # cache-dependency-path: frontend/yarn.lock @@ -41,13 +41,14 @@ jobs: - name: Setup Pages - uses: actions/configure-pages@v3 + id: pages + uses: actions/configure-pages@v4 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: './frontend/out' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/frontend/package.json b/frontend/package.json index 2b52caf..c4ea09d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -77,10 +77,6 @@ "typescript": "^4.9.5", "webpack": "^5.75.0" }, - "engines": { - "node": ">=16.0.0" - }, - "packageManager": "yarn@3.4.1", "prettier": { "trailingComma": "none", "semi": false,