From 56b351fe75f72434aa6782f5d95d80804e1e6977 Mon Sep 17 00:00:00 2001 From: Kai Ninomiya Date: Fri, 11 Aug 2023 12:32:32 -0700 Subject: [PATCH] Switch GitHub Actions to an LTS version of Node (15 -> 16) (#2892) This should clear up a bunch of version support warnings in dependencies. Also, in another PR I noticed that `npm ci` for some reason didn't catch when package-lock.json wasn't updated. Hoping that this will also fix that. --- .github/workflows/pr.yml | 2 +- .github/workflows/push.yml | 2 +- .github/workflows/wpt.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 5cf3d70996d5..0ae4a0a3104f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -16,7 +16,7 @@ jobs: git checkout ${{ github.event.pull_request.head.sha }} - uses: actions/setup-node@v2-beta with: - node-version: "15.x" + node-version: "16.x" - run: npm ci - run: npm test - run: | diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 5f767661abaf..6aa7a34e04f1 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -13,7 +13,7 @@ jobs: persist-credentials: false - uses: actions/setup-node@v2-beta with: - node-version: "15.x" + node-version: "16.x" - run: npm ci - run: | npm test diff --git a/.github/workflows/wpt.yml b/.github/workflows/wpt.yml index 4c7299075fc2..729fd131c63d 100644 --- a/.github/workflows/wpt.yml +++ b/.github/workflows/wpt.yml @@ -14,7 +14,7 @@ jobs: persist-credentials: false - uses: actions/setup-node@v3 with: - node-version: "15.x" + node-version: "16.x" - run: npm ci - run: npm run wpt - name: copy out-wpt to wpt tree