From efb3e9352361e619c20f8a42f23e10bb9cc6b2da Mon Sep 17 00:00:00 2001 From: SoYoung210 Date: Wed, 14 Dec 2022 00:19:35 +0900 Subject: [PATCH 1/5] build: fix node version to 16.15.0 --- .github/workflows/release.yml | 4 +++- .nvmrc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a25440f5..5c56b3a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,9 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: 16 + # do not change this version, because of semantic-release, npm whoami bug + # see with https://github.com/semantic-release/npm/issues/470 + node-version: 16.15.0 - name: Install dependencies run: yarn install --immutable - name: Check Type diff --git a/.nvmrc b/.nvmrc index b6a7d89c..99cdd800 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +16.15.0 From 035a36c282a45d78dbe1dc30d1624faf32001045 Mon Sep 17 00:00:00 2001 From: JaeYeopHan Date: Tue, 20 Dec 2022 14:11:39 +0900 Subject: [PATCH 2/5] chore: change yarn version in example --- examples/react/netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react/netlify.toml b/examples/react/netlify.toml index 42290b17..1453d7a8 100644 --- a/examples/react/netlify.toml +++ b/examples/react/netlify.toml @@ -4,4 +4,4 @@ command = "yarn build:static" [build.environment] NETLIFY_USE_YARN = "true" - YARN_VERSION="3.1.1" + YARN_VERSION="3.3.0" From 8b509cae81b793baf3c54aea7b997a92b314eae7 Mon Sep 17 00:00:00 2001 From: JaeYeopHan Date: Tue, 20 Dec 2022 18:04:57 +0900 Subject: [PATCH 3/5] fix: chagne publish path --- examples/react/netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react/netlify.toml b/examples/react/netlify.toml index 1453d7a8..756ca057 100644 --- a/examples/react/netlify.toml +++ b/examples/react/netlify.toml @@ -1,6 +1,6 @@ [build] base = "/examples/react/" - publish = "dist/" + publish = "/examples/react/dist/" command = "yarn build:static" [build.environment] NETLIFY_USE_YARN = "true" From ae62f0fa20a813096fbe9fba0159f80146a49b65 Mon Sep 17 00:00:00 2001 From: JaeYeopHan Date: Tue, 20 Dec 2022 18:05:02 +0900 Subject: [PATCH 4/5] fix(examples): change packageManger version in examples --- examples/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react/package.json b/examples/react/package.json index 7bbdecf1..077c1dfe 100644 --- a/examples/react/package.json +++ b/examples/react/package.json @@ -38,5 +38,5 @@ "typescript": "4.5.4" }, "license": "MIT", - "packageManager": "yarn@3.1.1" + "packageManager": "yarn@3.3.0" } From 76ea447f4337fe39fc0d60c2a04e808e984d92fb Mon Sep 17 00:00:00 2001 From: JaeYeopHan Date: Tue, 20 Dec 2022 18:10:08 +0900 Subject: [PATCH 5/5] fix: change publish path --- examples/react/netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react/netlify.toml b/examples/react/netlify.toml index 756ca057..a9b2d945 100644 --- a/examples/react/netlify.toml +++ b/examples/react/netlify.toml @@ -1,6 +1,6 @@ [build] base = "/examples/react/" - publish = "/examples/react/dist/" + publish = "./dist" command = "yarn build:static" [build.environment] NETLIFY_USE_YARN = "true"