Skip to content

Commit

Permalink
Merge pull request #88 from anct-cnum/recette
Browse files Browse the repository at this point in the history
MEP
  • Loading branch information
squirrion authored Nov 28, 2023
2 parents 7ff0159 + 40cb39d commit 39fdac9
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 36 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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"
Expand All @@ -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/*
Expand All @@ -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
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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"
Expand All @@ -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/*
Expand All @@ -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
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/deploy-recette.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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"
Expand All @@ -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/*
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 39fdac9

Please sign in to comment.