Skip to content

Commit

Permalink
adds changesetBaseRefs to .yarnrc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pirupius committed Jan 11, 2024
1 parent fd8dbee commit 5bc290e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,15 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --immutable
- name: Clear Yarn cache
run: yarn cache clean

- name: Clear Yarn cache
run: yarn cache clean

# - name: Install dependencies
# if: steps.cache.outputs.cache-hit != 'true'
# run: yarn install --immutable

- name: Version
run: yarn workspaces foreach --worktree --topological --exclude @ohri/openmrs-esm-ohri version "$(node -e "console.log(require('semver').inc(require('./package.json').version, 'patch'))")-pre.${{ github.run_number }}"
Expand Down
15 changes: 15 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,18 @@ enableGlobalCache: false
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.0.2.cjs

changesetBaseRefs: [
"master",
"origin/master",
"upstream/master",
"main",
"origin/main",
"upstream/main",
"dev",
"origin/dev",
"upstream/dev",
"pretest",
"origin/pretest",
"upstream/pretest",
]

0 comments on commit 5bc290e

Please sign in to comment.