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