Skip to content

Commit

Permalink
Merge pull request #47 from chromaui/todd/yarn4
Browse files Browse the repository at this point in the history
Upgrade to yarn4
  • Loading branch information
tevanoff authored Dec 21, 2023
2 parents c575587 + b42b61d commit 8843709
Show file tree
Hide file tree
Showing 8 changed files with 19,673 additions and 13,535 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- name: Prepare repository
run: git fetch --unshallow --tags

- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 18.x

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
with:
fetch-depth: 0

- name: Use Node.js 16.x
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 18.x

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand Down
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ build-storybook.log
yarn-error.log
chromatic.log

# yarn 4
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

test-archives
/test-results/
/playwright-report/
Expand Down
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.2.cjs
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ We welcome contributions!

- 📥 Pull requests and 🌟 Stars are always welcome.

### Requirements

- Node 18
- Yarn 4

If you have yarn 1 installed globally, it is recommended that you run `corepack enable` so that the version of yarn set in `packageManager` in `package.json` is used for this project.

## License

[MIT](https://github.com/chromaui/test-archiver/blob/main/LICENSE)
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,6 @@
},
"peerDependencies": {
"@playwright/test": "^1.0.0"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 8843709

Please sign in to comment.