Skip to content

Commit

Permalink
Merge pull request #3935 from EnterpriseDB/release/2023-04-14
Browse files Browse the repository at this point in the history
Release: 2023-04-14
  • Loading branch information
drothery-edb authored Apr 14, 2023
2 parents fbc03ff + 6058869 commit 055d30e
Show file tree
Hide file tree
Showing 13 changed files with 731 additions and 16,594 deletions.
27 changes: 10 additions & 17 deletions .github/workflows/deploy-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,25 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "14.x"

- name: Get npm cache directory
id: npm-cache-dir
run: |
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: update npm
run: npm install -g npm@7
node-version-file: ".nvmrc"
cache: "npm"
cache-dependency-path: "package-lock.json"
env:
NODE_ENV: ${{ secrets.NODE_ENV }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install dependencies
run: |
npm run presetup
npm ci
npm ci --ignore-scripts
env:
NODE_ENV: ${{ secrets.NODE_ENV }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Run NPM install scripts
run: |
npm rebuild
- uses: actions/setup-python@v4
with:
python-version: "3.x"
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/deploy-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: ".nvmrc"
cache: "npm"
cache-dependency-path: package-lock.json
cache-dependency-path: "package-lock.json"
env:
NODE_ENV: ${{ secrets.NODE_ENV }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install dependencies
run: |
Expand All @@ -47,6 +50,7 @@ jobs:
- name: Run NPM install scripts
run: |
npm rebuild
- name: Checking Gatsby cache
id: gatsby-cache-build
uses: actions/cache@v3
Expand Down
27 changes: 10 additions & 17 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,25 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: "14.x"

- name: Get npm cache directory
id: npm-cache-dir
run: |
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: update npm
run: npm install -g npm@7
node-version-file: ".nvmrc"
cache: "npm"
cache-dependency-path: "package-lock.json"
env:
NODE_ENV: ${{ secrets.NODE_ENV }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install dependencies
run: |
npm run presetup
npm ci
npm ci --ignore-scripts
env:
NODE_ENV: ${{ secrets.NODE_ENV }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Run NPM install scripts
run: |
npm rebuild
- uses: actions/setup-python@v4
with:
python-version: "3.x"
Expand Down
Loading

2 comments on commit 055d30e

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸŽ‰ Published on https://edb-docs.netlify.app as production
πŸš€ Deployed on https://6439c62f06e2bc5280132057--edb-docs.netlify.app

Please sign in to comment.