Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/actions/npm-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@ description: "Initialize NPM Cache"
runs:
using: "composite"
steps:
- name: Setup Node version equally to our local development version
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
shell: bash
run: |
node --version
npm --version

- uses: actions/cache@v3
id: "npm-cache" # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/00-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,6 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: 🔄 Init Cache Default
uses: ./.github/actions/npm-cache

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/00-scan-secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,6 @@ jobs:
with:
fetch-depth: 0

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: ↔ Extract branch name
uses: ./.github/actions/extract-branch
id: extract_branch
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/01-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,6 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: 🔄 Init Cache
uses: ./.github/actions/npm-cache

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/01-get-publish-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,6 @@ jobs:
- name: ⬇ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: 🔄 Init Cache
uses: ./.github/actions/npm-cache

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/01-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,6 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: 🔄 Init Cache
uses: ./.github/actions/npm-cache

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/01-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,6 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: 🔄 Init Cache
uses: ./.github/actions/npm-cache

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/02-deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,6 @@ jobs:
- name: ⬇ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: 🔄 Init Cache
uses: ./.github/actions/npm-cache

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/03-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,6 @@ jobs:
- name: ⬇ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: 🔄 Init Cache
uses: ./.github/actions/npm-cache

Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/99-add-url-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,6 @@ jobs:
- name: ⬇ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: 📡 Add comment
uses: actions/github-script@v6
with:
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/99-auto-update-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: ↔ Create Pull Request
uses: actions/github-script@v6
id: create-pr
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/99-codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,6 @@ jobs:
- name: ⬇ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: 🔄 Initialize CodeQL
uses: github/codeql-action/init@v2
with:
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/99-dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,5 @@ jobs:
- name: ⬇ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: 🔎 Dependency Review
uses: actions/dependency-review-action@v3
14 changes: 0 additions & 14 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,6 @@ jobs:
- name: ⬇ Checkout repo
uses: actions/checkout@v3

- name: Setup node equally to our local development version
if: steps.npm-cache.outputs.cache-hit != 'true'
# pick the Node version to use and install it
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16

- name: Display node and npm version
if: steps.npm-cache.outputs.cache-hit != 'true'
run: |
node --version
npm --version

- name: 📥 Get gh-pages tar
run: wget -q https://github.com/db-ui/core/tarball/gh-pages

Expand Down