Skip to content

Commit

Permalink
chore: use yarn berry
Browse files Browse the repository at this point in the history
  • Loading branch information
gndz07 committed Jul 15, 2024
1 parent 13102a0 commit b6c28e2
Show file tree
Hide file tree
Showing 7 changed files with 17,907 additions and 12,815 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
node-version-file: .nvmrc
cache: yarn

- name: enable corepack
run: corepack enable

- name: Config git
run: |
git config --local user.email "30906710+traefiker@users.noreply.github.com"
Expand All @@ -36,7 +39,7 @@ jobs:
env:
NODE_ENV: production
with:
install_command: yarn install --frozen-lockfile --production && yarn patch
install_command: yarn workspaces focus --all --production && yarn patch
build_command: yarn build-storybook
path: storybook-static
checkout: false
3 changes: 3 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: enable corepack
run: corepack enable

- name: Setup node
uses: actions/setup-node@v4
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ jobs:
node-version-file: .nvmrc
cache: yarn

- name: enable corepack
run: corepack enable

- name: Install dependencies
run: yarn install --frozen-lockfile --production
run: yarn workspaces focus --all --production

- name: Patch
run: yarn patch
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/node_modules
/.pnp
.pnp.js
.yarn

# testing
/coverage
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,5 @@
"engines": {
"node": ">=18.12.1"
},
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
"packageManager": "yarn@4.3.1"
}
30,705 changes: 17,893 additions & 12,812 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit b6c28e2

Please sign in to comment.