From c479cf1d6febebc7699fc555c7828741ef7aefff Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Sat, 26 Nov 2022 17:56:19 +0900
Subject: [PATCH] Use node 18 in CI
---
.github/workflows/build.yml | 2 +-
.github/workflows/release.yml | 6 +++---
.github/workflows/reviewdog.yml | 4 ++--
.tool-versions | 1 +
4 files changed, 7 insertions(+), 6 deletions(-)
create mode 100644 .tool-versions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 853a4040..19939002 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@v3
with:
- node-version: 16
+ node-version: 18
- name: Install
run: |
yarn install
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 69455c0c..192dccac 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
- node-version: '16'
+ node-version: '18'
cache: yarn
- name: Build
run: |
@@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
- node-version: '16'
+ node-version: '18'
cache: yarn
- name: Build
run: |
@@ -98,7 +98,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
- node-version: '16'
+ node-version: '18'
cache: yarn
- name: Apple Codesigning
uses: apple-actions/import-codesign-certs@v1
diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml
index 22e7bf89..71f2a833 100644
--- a/.github/workflows/reviewdog.yml
+++ b/.github/workflows/reviewdog.yml
@@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@v3
with:
- node-version: 16
+ node-version: 18
- name: Install
run: |
yarn install
@@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-node@v3
with:
- node-version: 16
+ node-version: 18
- name: Install
run: |
yarn install
diff --git a/.tool-versions b/.tool-versions
new file mode 100644
index 00000000..e9847d93
--- /dev/null
+++ b/.tool-versions
@@ -0,0 +1 @@
+nodejs 18.9.1