From ce0e0b088df72240cab49a0e4931ff3370c82e40 Mon Sep 17 00:00:00 2001 From: Alice King Tai Poon <23336645+codenamedpkt@users.noreply.github.com> Date: Sun, 5 Jun 2022 16:42:59 +0800 Subject: [PATCH] Update check-dist.yml --- .github/workflows/check-dist.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 4c3d69e2..3ce38fa6 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -18,15 +18,15 @@ on: jobs: check-dist: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@main - - name: Set Node.js 16.x - uses: actions/setup-node@v3 + - name: Set Node.js 18.x + uses: actions/setup-node@main with: - node-version: 16.x + node-version: 18.x cache: npm - name: Install dependencies @@ -45,7 +45,7 @@ jobs: id: diff # If index.js was different than expected, upload the expected version as an artifact - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@main if: ${{ failure() && steps.diff.conclusion == 'failure' }} with: name: dist