Skip to content

Commit c59b2d6

Browse files
authored
chore: run constraints and update lockfile (#3612)
1 parent 8066b92 commit c59b2d6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ jobs:
2323
cache: yarn
2424

2525
- name: Install Dependencies
26-
run: yarn install --frozen-lockfile
26+
run: yarn install --immutable
2727

2828
- name: Create Release Pull Request or Publish to npm
2929
id: changesets
3030
uses: changesets/action@v1
3131
with:
32+
version: yarn version:packages
33+
3234
# This expects you to have a script called release which does a build for your packages and calls changeset publish
3335
title: "chore: release"
3436
commit: "chore: release"

lint-staged.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ module.exports = {
88
],
99
"package.json": (files) => [
1010
"yarn constraints --fix",
11-
"yarn install",
1211
`eslint --fix --cache --no-error-on-unmatched-pattern --quiet ${files.join(" ")}`,
1312
],
1413
"dist/*.css": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"tester": "cross-env NODE_ENV=development nx run storybook:test:scope",
5454
"validate": "yarn validator tag:component",
5555
"validator": "nx run-many --target validate --verbose --projects",
56-
"version:packages": "changeset version && yarn --mode=\"update-lockfile\""
56+
"version:packages": "changeset version && yarn constraints --fix && yarn install"
5757
},
5858
"workspaces": [
5959
"components/*",

0 commit comments

Comments
 (0)