Skip to content

Commit

Permalink
Make Yarn version more explicit (#412)
Browse files Browse the repository at this point in the history
* Make Yarn version more explicit

* Update .github/workflows/build.yml
  • Loading branch information
gabalafou authored Aug 19, 2024
1 parent 0885e02 commit 246403f
Show file tree
Hide file tree
Showing 6 changed files with 934 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'

- name: "Install dependencies 📦"
run: yarn
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,13 @@ src/version.ts
static

# yarn
# not using Zero-installs
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored

.yarn/*
!.yarn/releases
!.yarn/patches
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*#
.pnp.*#
925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.4.0.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.4.0.cjs
2 changes: 1 addition & 1 deletion environment_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ channels:
- conda-forge
dependencies:
- python=3.10
- yarn
- yarn>=4.4.0
- nodejs>=18.0
- pytest
- pip
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,6 @@
},
"engines": {
"node": ">=18.0.0"
}
},
"packageManager": "[email protected]"
}

0 comments on commit 246403f

Please sign in to comment.