From 67dfeef6a1d62746bb49ec867057f4148e45b143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Wed, 9 Sep 2020 17:49:33 -0400 Subject: [PATCH] chore: use latest node on ci workflow when possible --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 324d06f4dd53..3379fc6cf8af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,8 @@ jobs: uses: actions/checkout@v2 - name: Use Node.js latest uses: actions/setup-node@v2-beta + with: + node-version: "*" - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn config get cacheFolder)" @@ -38,6 +40,8 @@ jobs: uses: actions/checkout@v2 - name: Use Node.js latest uses: actions/setup-node@v2-beta + with: + node-version: "*" - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn config get cacheFolder)" @@ -62,6 +66,8 @@ jobs: uses: actions/checkout@v2 - name: Use Node.js latest uses: actions/setup-node@v2-beta + with: + node-version: "*" - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn config get cacheFolder)" @@ -96,7 +102,9 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - name: Use Node.js latest - uses: actions/setup-node@v2-beta # Build Babel on latest node versions + uses: actions/setup-node@v2-beta + with: + node-version: "*" # Build Babel on latest node versions - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn config get cacheFolder)"