diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e2798f3d..55a8fcb7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,12 +8,9 @@ jobs: runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v2 - - name: Use Node.js ${{matrix.node}} - uses: actions/setup-node@v2 + - uses: dcodeIO/setup-node-nvm@master with: node-version: ${{matrix.node}} - #cache: npm - - run: npm install -g npm@7 # https://github.com/npm/cli/issues/4341#issuecomment-1040608101 - run: npm install -g npm - run: npm install - run: npm test