ci: use frozen lockfile

This commit is contained in:
Evan You 2021-09-20 12:43:06 -04:00
parent 6e7e57fa9b
commit 7915a593ea

View File

@ -16,7 +16,7 @@ jobs:
with: with:
node-version: 16 node-version: 16
cache: 'yarn' cache: 'yarn'
- run: yarn install - run: yarn install --frozen-lockfile
- name: Run unit tests - name: Run unit tests
run: yarn test --ci run: yarn test --ci
@ -29,7 +29,7 @@ jobs:
with: with:
node-version: 16 node-version: 16
cache: 'yarn' cache: 'yarn'
- run: yarn install - run: yarn install --frozen-lockfile
- name: Run type declaration tests - name: Run type declaration tests
run: yarn test-dts run: yarn test-dts
@ -44,7 +44,7 @@ jobs:
with: with:
node-version: 16 node-version: 16
cache: 'yarn' cache: 'yarn'
- run: yarn install - run: yarn install --frozen-lockfile
- name: Check build size - name: Check build size
uses: posva/size-check-action@v1.1.2 uses: posva/size-check-action@v1.1.2
with: with: