Skip to content

Commit

Permalink
ci: use yarn --frozen-lockfile flag for repro deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Dec 28, 2020
1 parent c76d373 commit dfc2c31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
node-version: 14.x
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn --frozen-lockfile
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
node-version: 14.x
- name: Install
run: yarn --immutable
run: yarn --frozen-lockfile
- name: Run ESLint
run: yarn lint
- name: Run Prettier
Expand All @@ -42,7 +42,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install
run: |
yarn --immutable
yarn --frozen-lockfile
brew install poppler
- name: Run Tests
run: yarn jest-coverage
Expand All @@ -67,7 +67,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install
run: |
yarn --immutable
yarn --frozen-lockfile
sudo apt-get -y install poppler-data poppler-utils
- name: Run Tests
run: yarn jest-coverage
Expand All @@ -91,7 +91,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn --immutable
run: yarn --frozen-lockfile
- name: Run Tests
run: |
yarn jest-coverage
Expand Down

0 comments on commit dfc2c31

Please sign in to comment.