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