Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "upgrade nodejs to version 18 (#58)" #59

Merged
merged 1 commit into from
Sep 11, 2023
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
4 changes: 2 additions & 2 deletions .github/actions/build-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/patch-local-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/actions/release-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/unlock-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading