Skip to content

Commit

Permalink
Merge pull request #21 from design-sparx/ft/yarn
Browse files Browse the repository at this point in the history
bug fixes
  • Loading branch information
kelvink96 committed Dec 2, 2023
2 parents 335bf5c + 0c59ae1 commit 9bf6dc3
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 17,504 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
19 changes: 16 additions & 3 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,23 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v3
- run: yarn install --immutable
- name: checkout repo
uses: actions/checkout@v3

- name: setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18

- name: enable corepack
run: corepack enable

- name: install dependencies
run: yarn install --immutable

#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
- name: deployment
uses: chromaui/action@v1
# Options required for Chromatic's GitHub Action
with:
#👇 Chromatic projectToken, see https://storybook.js.org/tutorials/intro-to-storybook/react/en/deploy/ to obtain it
Expand Down
Binary file modified .yarn/install-state.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ changesetIgnorePatterns:
- "**/*.test.{js,ts}"
- packages/*/tests/**

nodeLinker: node-modules
nodeLinker: pnpm
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "analytics-dashboard",
"name": "mantine-analytics-dashboard",
"packageManager": "yarn@4.0.2",
"version": "2.0.0",
"scripts": {
"dev": "next dev",
Expand Down Expand Up @@ -104,6 +105,5 @@
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"packageManager": "yarn@4.0.2"
}
}
Loading

0 comments on commit 9bf6dc3

Please sign in to comment.