diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index d3ca865f..dce18e1a 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -6,13 +6,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 16.13.0 - uses: actions/cache@v2 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - - run: npm install + - run: npm ci - run: npm run all env: GITHUB_TOKEN: ${{ github.token }} @@ -30,6 +33,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 + - uses: actions/setup-node@v2 + with: + node-version: 16.13.0 - uses: actions/cache@v2 with: path: ~/.npm diff --git a/.github/workflows/uncommitted.yml b/.github/workflows/uncommitted.yml index c14a1a1b..fec66b7f 100644 --- a/.github/workflows/uncommitted.yml +++ b/.github/workflows/uncommitted.yml @@ -10,14 +10,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - run: npm ci + - uses: actions/setup-node@v2 + with: + node-version: 16.13.0 - uses: actions/cache@v2 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - - run: npm install + - run: npm ci - run: npm run release - name: check for uncommitted changes run: | diff --git a/.node-version b/.node-version new file mode 100644 index 00000000..58a4133d --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +16.13.0