Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make yarn installs immutable #1733

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
${{ runner.os }}-yarn-

- name: Install packages
run: yarn
run: yarn --frozen-lockfile
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only concern with having this in all the files is the devex could be a bit annoying, but CI runs very quickly here…so I expect it's not worth intentionally omitting it from other workflows.


- name: Build source
run: yarn build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
node-version: ${{ steps.nvm.outputs.NVMRC }}

- name: Install Dependencies
run: yarn
run: yarn --frozen-lockfile

- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
${{ runner.os }}-yarn-
- name: Install packages
run: yarn
run: yarn --frozen-lockfile

- name: Validate
run: yarn lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/visual-regression-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
${{ runner.os }}-yarn-

- name: Install packages
run: yarn
run: yarn --frozen-lockfile

- name: Build source
run: yarn build
Expand Down
Loading