Skip to content

Commit

Permalink
(chore) Upgrade yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Sep 6, 2023
1 parent a40260c commit 188ca14
Show file tree
Hide file tree
Showing 5 changed files with 14,318 additions and 10,392 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
node-version: '16'
cache: 'npm'
- run: yarn install --frozen-lockfile
- run: yarn install --immutable

- name: Setup a local cache server for Turborepo
uses: felixmosh/turborepo-gh-artifacts@v2
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
with:
node-version: '16'
cache: 'npm'
- run: yarn install --frozen-lockfile
- run: yarn install --immutable
- run: export NEW_VERSION="$(node -e "console.log(require('semver').inc(require('./package.json').version, 'patch'))")-pre.${{ github.run_number }}" && yarn version --new-version $NEW_VERSION --no-git-tag-version && cd projects/ngx-formentry && yarn version --new-version $NEW_VERSION --no-git-tag-version
- run: yarn turbo build:lib --color --concurrency=5
- run: git config user.email "[email protected]" && git config user.name "OpenMRS CI"
Expand All @@ -80,7 +80,7 @@ jobs:
with:
node-version: '16'
cache: 'npm'
- run: yarn install --frozen-lockfile
- run: yarn install --immutable

- name: Build
run: yarn turbo build:lib --color --concurrency=5
Expand Down
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,13 @@ testem.log
Thumbs.db
./package-lock.json

.turbo
.turbo

# Yarn 3 files
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.6.3.cjs
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,6 @@
"pre-commit": "yarn run prettier && yarn run lint",
"pre-push": "yarn run test"
}
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 188ca14

Please sign in to comment.