From 8d49e559aae34d3e0eb16cde532684bc9702762b Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Sat, 18 Feb 2023 16:48:29 -0700 Subject: [PATCH] Use Node 16 for CI workflow --- .github/workflows/check-dist.yml | 2 +- .github/workflows/ci.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index c23e663..9959ea9 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -3,7 +3,7 @@ # `index.js` is the code that will run. # For our project, we generate this file through a build process from other source files. # We need to make sure the checked-in `index.js` actually matches what we expect it to be. -name: Check dist/ +name: Check dist directory on: push: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e702d78..6231103 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Set Node.js 16.x + uses: actions/setup-node@v2.4.1 + with: + node-version: 16.x - run: | + npm -v + node -v npm install npm run all test: # make sure the action works on a clean machine without building