Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(chore) Upgrade yarn #75

Merged
merged 2 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
denniskigen marked this conversation as resolved.
Show resolved Hide resolved
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
Loading