[test] change to npm install for pull requests

This commit is contained in:
Louis Lam 2021-10-08 22:39:35 +08:00 committed by GitHub
parent 5ce09953e2
commit c589bd836d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'
- run: npm ci - run: npm run install-legacy
- run: npm run build - run: npm run build
- run: npm test - run: npm test
env: env: