diff --git a/.github/workflows/00-init.yml b/.github/workflows/00-init.yml index dca4a2b2f9..f1a498e565 100644 --- a/.github/workflows/00-init.yml +++ b/.github/workflows/00-init.yml @@ -14,6 +14,20 @@ 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 diff --git a/.github/workflows/00-scan-secrets.yml b/.github/workflows/00-scan-secrets.yml index 29149c7cf6..dda9282f63 100644 --- a/.github/workflows/00-scan-secrets.yml +++ b/.github/workflows/00-scan-secrets.yml @@ -12,6 +12,20 @@ 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 diff --git a/.github/workflows/01-build.yml b/.github/workflows/01-build.yml index 0ab806ed20..84d46199ea 100644 --- a/.github/workflows/01-build.yml +++ b/.github/workflows/01-build.yml @@ -11,6 +11,20 @@ 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 diff --git a/.github/workflows/01-get-publish-version.yml b/.github/workflows/01-get-publish-version.yml index 39aa8e186d..8613b53e84 100644 --- a/.github/workflows/01-get-publish-version.yml +++ b/.github/workflows/01-get-publish-version.yml @@ -27,6 +27,20 @@ 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 diff --git a/.github/workflows/01-lint.yml b/.github/workflows/01-lint.yml index 50c94b99a6..ea24476511 100644 --- a/.github/workflows/01-lint.yml +++ b/.github/workflows/01-lint.yml @@ -11,6 +11,20 @@ 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 diff --git a/.github/workflows/01-test.yml b/.github/workflows/01-test.yml index 4397661c1b..42a75a11ad 100644 --- a/.github/workflows/01-test.yml +++ b/.github/workflows/01-test.yml @@ -11,6 +11,20 @@ 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 diff --git a/.github/workflows/02-deploy-gh-pages.yml b/.github/workflows/02-deploy-gh-pages.yml index 987d2aedbe..e40ec457e0 100644 --- a/.github/workflows/02-deploy-gh-pages.yml +++ b/.github/workflows/02-deploy-gh-pages.yml @@ -23,6 +23,20 @@ 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 diff --git a/.github/workflows/03-publish-packages.yml b/.github/workflows/03-publish-packages.yml index 7355c4f97a..fbcbfc56ae 100644 --- a/.github/workflows/03-publish-packages.yml +++ b/.github/workflows/03-publish-packages.yml @@ -24,6 +24,20 @@ 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 diff --git a/.github/workflows/99-add-url-comment.yml b/.github/workflows/99-add-url-comment.yml index d1b4a7f31c..cce1f5ce80 100644 --- a/.github/workflows/99-add-url-comment.yml +++ b/.github/workflows/99-add-url-comment.yml @@ -11,6 +11,20 @@ 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: diff --git a/.github/workflows/99-auto-update-pr.yml b/.github/workflows/99-auto-update-pr.yml index cc205dbcab..baf30cdece 100644 --- a/.github/workflows/99-auto-update-pr.yml +++ b/.github/workflows/99-auto-update-pr.yml @@ -22,6 +22,20 @@ 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 diff --git a/.github/workflows/99-codeql-analysis.yml b/.github/workflows/99-codeql-analysis.yml index 6bcca774a4..0e43d888f9 100644 --- a/.github/workflows/99-codeql-analysis.yml +++ b/.github/workflows/99-codeql-analysis.yml @@ -16,6 +16,20 @@ 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: diff --git a/.github/workflows/99-dependency-review.yml b/.github/workflows/99-dependency-review.yml index d7af7654bf..c9b50e4a28 100644 --- a/.github/workflows/99-dependency-review.yml +++ b/.github/workflows/99-dependency-review.yml @@ -9,5 +9,20 @@ jobs: steps: - 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 diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index 57c59932a5..c636393c9d 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -13,6 +13,20 @@ 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 diff --git a/source/_patterns/00-base/icons/_icons.helpers.scss b/source/_patterns/00-base/icons/_icons.helpers.scss index 7908c883e2..41d40d7975 100644 --- a/source/_patterns/00-base/icons/_icons.helpers.scss +++ b/source/_patterns/00-base/icons/_icons.helpers.scss @@ -55,7 +55,8 @@ -webkit-alt: ""; /* stylelint-enable */ alt: ""; - speak: none; + speak: none; // Hiding icon from screenreaders, fallback by older notation + speak: never; // Hiding icon from screenreaders @media aural { content: none; } diff --git a/source/_patterns/00-base/icons/_icons.placeholder.scss b/source/_patterns/00-base/icons/_icons.placeholder.scss index ebcb128cc3..456a3ee533 100644 --- a/source/_patterns/00-base/icons/_icons.placeholder.scss +++ b/source/_patterns/00-base/icons/_icons.placeholder.scss @@ -21,7 +21,8 @@ font-weight: normal; // CSS variables fallback font-weight: var(--icon-font-weight, normal); line-height: 1; - speak: none; // Hiding icon from screenreaders + speak: none; // Hiding icon from screenreaders, fallback by older notation + speak: never; // Hiding icon from screenreaders text-transform: none; vertical-align: middle;