From 5a9dfe5ea56606afa24722c5420dd036376867df Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Tue, 6 Jul 2021 13:51:51 +0900 Subject: [PATCH] use latest lts node-version --- .github/workflows/build.yml | 3 ++- .github/workflows/publish.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 363ed99..4f865b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 - with: { node-version: 14 } + with: + node-version: "lts/*" - id: yarn_cache run: echo "::set-output name=dir::$(yarn cache dir)" - uses: actions/cache@v2 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 58dee5f..26075df 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: "lts/*" cache: yarn registry-url: https://registry.npmjs.org/ - run: yarn