diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c65f370..47a8d8a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -16,9 +16,9 @@ jobs:
uses: actions/checkout@v2
- name: Setup node
- uses: actions/setup-node@v1
+ uses: actions/setup-node@v3
with:
- node-version: '16.x'
+ node-version: 20
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
@@ -31,7 +31,7 @@ jobs:
run: tar czf /tmp/artifact.tar.gz .
- name: Upload artifact
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: ui-kit-artifact
path: /tmp/artifact.tar.gz
@@ -43,13 +43,18 @@ jobs:
needs: [install]
continue-on-error: false
steps:
+ - name: Setup node
+ uses: actions/setup-node@v3
+ with:
+ node-version: 20
+
- name: Download artifact
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@v3
with:
name: ui-kit-artifact
- name: Unpack artifact
- run: tar xf artifact.tar.gz
+ run: tar xf artifact.tar.gz
- name: Run eslint
run: npm run lint
@@ -60,13 +65,18 @@ jobs:
needs: [install]
continue-on-error: false
steps:
+ - name: Setup node
+ uses: actions/setup-node@v3
+ with:
+ node-version: 20
+
- name: Download artifact
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@v3
with:
name: ui-kit-artifact
- name: Unpack artifact
- run: tar xf artifact.tar.gz
+ run: tar xf artifact.tar.gz
- name: Run typescript compile
run: yarn tsc --noEmit
@@ -78,7 +88,7 @@ jobs:
continue-on-error: false
steps:
- name: Download artifact
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@v3
with:
name: ui-kit-artifact
@@ -95,7 +105,7 @@ jobs:
continue-on-error: false
steps:
- name: Download artifact
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@v3
with:
name: ui-kit-artifact
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8d07934..074a572 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -29,7 +29,7 @@ jobs:
uses: ./.github/actions/release
id: release
with:
- node-version: 16
+ node-version: 20
release-pr-title: 'chore(release): :package: version update for packages'
release-commit-message: 'chore(release): version update for packages'
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -56,7 +56,7 @@ jobs:
- name: Prepare
uses: ./.github/actions/prepare-packages
with:
- node-version: 16
+ node-version: 20
build-command: 'lib'
publish-npm:
@@ -74,7 +74,7 @@ jobs:
- name: Publish to NPM
uses: ./.github/actions/publish
with:
- node-version: 16
+ node-version: 20
registry-url: 'https://registry.npmjs.org/'
artifact-name: 'package-artifact'
scope: '@macpaw'
@@ -95,7 +95,7 @@ jobs:
- name: Publish to NPM
uses: ./.github/actions/publish
with:
- node-version: 16
+ node-version: 20
registry-url: https://npm.pkg.github.com/
artifact-name: 'package-artifact'
scope: '@macpaw'
diff --git a/.infrastructure/docker/ui/Dockerfile b/.infrastructure/docker/ui/Dockerfile
index 480ebfb..6e85c36 100644
--- a/.infrastructure/docker/ui/Dockerfile
+++ b/.infrastructure/docker/ui/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:16
+FROM node:20
ARG NPM_TOKEN
diff --git a/internal/ActiveLink/ActiveLink.js b/internal/ActiveLink/ActiveLink.js
index 7423921..0f8d5d3 100644
--- a/internal/ActiveLink/ActiveLink.js
+++ b/internal/ActiveLink/ActiveLink.js
@@ -28,8 +28,8 @@ const ActiveLink = ({ children, className, activeClassName, ...props }) => {
}, [asPath, isReady, props.as, props.href, computedClassName]);
return (
-
- {children}
+
+ {children}
);
};
diff --git a/internal/HomePage/HomePage.js b/internal/HomePage/HomePage.js
index f9dda1c..2233f80 100644
--- a/internal/HomePage/HomePage.js
+++ b/internal/HomePage/HomePage.js
@@ -13,10 +13,10 @@ export default function HomePage() {
you're crafting experiences.
-
+
-
+