From 778f56abbe47f67ebe022ba54fa55ca39ea47123 Mon Sep 17 00:00:00 2001 From: Amr Mohamed Date: Mon, 11 Sep 2023 18:15:52 +0200 Subject: [PATCH] Revert "upgrade nodejs to version 18 (#58)" This reverts commit a25a152181d9e7cdf04f627fe4f956b3d4314d2a. --- .github/actions/build-package/action.yml | 4 ++-- .../actions/patch-local-dependencies/action.yml | 4 ++-- .github/actions/release-package/action.yml | 4 ++-- .github/actions/unlock-dependencies/action.yml | 4 ++-- .github/workflows/build-lint-test.yml | 14 +++++++------- .github/workflows/dry-run.yml | 12 ++++++------ .github/workflows/release.yml | 4 ++-- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/actions/build-package/action.yml b/.github/actions/build-package/action.yml index 2700e40..d6ff9a6 100644 --- a/.github/actions/build-package/action.yml +++ b/.github/actions/build-package/action.yml @@ -27,10 +27,10 @@ runs: with: repository: cloudscape-design/${{ inputs.package }} path: ${{ inputs.package }} - - name: Use Node.js 18 + - name: Use Node.js 16 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 16 - name: Download artifacts if: ${{ inputs.download_dependencies == 'true' }} diff --git a/.github/actions/patch-local-dependencies/action.yml b/.github/actions/patch-local-dependencies/action.yml index 7d23074..3cd433b 100644 --- a/.github/actions/patch-local-dependencies/action.yml +++ b/.github/actions/patch-local-dependencies/action.yml @@ -11,9 +11,9 @@ inputs: runs: using: "composite" steps: - - name: Use Node.js 18 + - name: Use Node.js 16 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 16 - run: INPUT_PATH=${{ inputs.path }} INPUT_TYPE=${{ inputs.type }} node ${{ github.action_path }}/local.mjs shell: bash diff --git a/.github/actions/release-package/action.yml b/.github/actions/release-package/action.yml index 7b83adc..6955f3c 100644 --- a/.github/actions/release-package/action.yml +++ b/.github/actions/release-package/action.yml @@ -9,10 +9,10 @@ inputs: runs: using: "composite" steps: - - name: Use Node.js 18 + - name: Use Node.js 16 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 16 - name: Define new version suffix id: vars diff --git a/.github/actions/unlock-dependencies/action.yml b/.github/actions/unlock-dependencies/action.yml index f5a9c43..d501ec2 100644 --- a/.github/actions/unlock-dependencies/action.yml +++ b/.github/actions/unlock-dependencies/action.yml @@ -4,9 +4,9 @@ description: "Removes all @cloudscape-design dependencies from package-lock file runs: using: "composite" steps: - - name: Use Node.js 18 + - name: Use Node.js 16 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 16 - run: node ${{ github.action_path }}/index.js shell: bash diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index dfd8b0e..ab8629b 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -5,21 +5,21 @@ on: inputs: skip-codeql: type: boolean - description: "Skip CodeQL checks" + description: 'Skip CodeQL checks' required: false default: false skip-codecov: type: boolean - description: "Skip code coverage step" + description: 'Skip code coverage step' required: false default: false artifact-path: type: string - description: "An optional file, directory or wildcard pattern that describes what to upload" + description: 'An optional file, directory or wildcard pattern that describes what to upload' artifact-name: type: string - description: "An optional artifact name" - default: "artifact" + description: 'An optional artifact name' + default: 'artifact' permissions: actions: read @@ -31,10 +31,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Use Node.js 18 + - name: Use Node.js 16 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 16 - name: Unlock dependencies uses: cloudscape-design/.github/.github/actions/unlock-dependencies@main - run: npm i --force diff --git a/.github/workflows/dry-run.yml b/.github/workflows/dry-run.yml index 84e3e21..85de4d0 100644 --- a/.github/workflows/dry-run.yml +++ b/.github/workflows/dry-run.yml @@ -129,10 +129,10 @@ jobs: needs: - buildComponents steps: - - name: Use Node.js 18 + - name: Use Node.js 16 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 16 - name: Download component artifacts uses: actions/download-artifact@v3 with: @@ -148,10 +148,10 @@ jobs: needs: - buildComponents steps: - - name: Use Node.js 18 + - name: Use Node.js 16 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 16 - name: Download component artifacts uses: actions/download-artifact@v3 with: @@ -170,10 +170,10 @@ jobs: needs: - buildComponents steps: - - name: Use Node.js 18 + - name: Use Node.js 16 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 16 - name: Download component artifacts uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e49147..ab72544 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,10 +25,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Use Node.js 18 + - name: Use Node.js 16 uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 16 - run: npm install --force