diff --git a/.github/workflows/deploy-demo.yml b/.github/workflows/deploy-demo.yml index 648cddf..b6b1142 100644 --- a/.github/workflows/deploy-demo.yml +++ b/.github/workflows/deploy-demo.yml @@ -10,17 +10,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [19.7.0] + node-version: [20.9.0] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'npm' - name: Retrieve cached dependencies id: retrieve-dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: key: node_modules-${{ hashFiles('package-lock.json') }} path: node_modules @@ -29,7 +29,7 @@ jobs: run: npm ci --omit=dev - name: Cache dependencies if not present if: steps.retrieve-dependencies.outputs.cache-hit == false - uses: actions/cache@v2 + uses: actions/cache@v3 with: key: node_modules.-${{ hashFiles('package-lock.json') }} path: node_modules @@ -38,14 +38,14 @@ jobs: needs: dependencies runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Retrieve cached dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: key: node_modules-${{ hashFiles('package-lock.json') }} path: node_modules - name: Override .env - uses: SpicyPizza/create-envfile@v1 + uses: SpicyPizza/create-envfile@v2.0 with: envkey_REACT_APP_STRATEGYAUTH: "local" envkey_REACT_APP_VERSION: "1.0" @@ -62,7 +62,7 @@ jobs: source: ".htaccess" target: "build/.htaccess" - name: Upload release bundle as artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: bundle path: build/* @@ -71,9 +71,9 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Retrieve bundle React - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: bundle path: build diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index ff2b5f3..ac37953 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -10,17 +10,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [19.7.0] + node-version: [20.9.0] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'npm' - name: Retrieve cached dependencies id: retrieve-dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: key: node_modules-${{ hashFiles('package-lock.json') }} path: node_modules @@ -29,7 +29,7 @@ jobs: run: npm ci --omit=dev - name: Cache dependencies if not present if: steps.retrieve-dependencies.outputs.cache-hit == false - uses: actions/cache@v2 + uses: actions/cache@v3 with: key: node_modules.-${{ hashFiles('package-lock.json') }} path: node_modules @@ -38,14 +38,14 @@ jobs: needs: dependencies runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Retrieve cached dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: key: node_modules-${{ hashFiles('package-lock.json') }} path: node_modules - name: Override .env - uses: SpicyPizza/create-envfile@v1 + uses: SpicyPizza/create-envfile@v2.0 with: envkey_REACT_APP_STRATEGYAUTH: "local" envkey_REACT_APP_VERSION: "1.0" @@ -62,7 +62,7 @@ jobs: source: ".htaccess" target: "build/.htaccess" - name: Upload release bundle as artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: bundle path: build/* @@ -71,9 +71,9 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Retrieve bundle React - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: bundle path: build diff --git a/.github/workflows/deploy-recette.yml b/.github/workflows/deploy-recette.yml index d6f74f8..ba26c43 100644 --- a/.github/workflows/deploy-recette.yml +++ b/.github/workflows/deploy-recette.yml @@ -10,17 +10,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [19.7.0] + node-version: [20.9.0] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'npm' - name: Retrieve cached dependencies id: retrieve-dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: key: node_modules-${{ hashFiles('package-lock.json') }} path: node_modules @@ -29,7 +29,7 @@ jobs: run: npm ci --omit=dev - name: Cache dependencies if not present if: steps.retrieve-dependencies.outputs.cache-hit == false - uses: actions/cache@v2 + uses: actions/cache@v3 with: key: node_modules.-${{ hashFiles('package-lock.json') }} path: node_modules @@ -38,14 +38,14 @@ jobs: needs: dependencies runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Retrieve cached dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: key: node_modules-${{ hashFiles('package-lock.json') }} path: node_modules - name: Override .env - uses: SpicyPizza/create-envfile@v1 + uses: SpicyPizza/create-envfile@v2.0 with: envkey_REACT_APP_STRATEGYAUTH: "local" envkey_REACT_APP_VERSION: "1.0" @@ -62,7 +62,7 @@ jobs: source: ".htaccess" target: "build/.htaccess" - name: Upload release bundle as artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: bundle path: build/* @@ -71,9 +71,9 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Retrieve bundle React - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: bundle path: build diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 7dc0fb5..0df15ea 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -11,11 +11,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [19.7.0] + node-version: [20] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - run: npm install