Skip to content

Commit

Permalink
(chore) fix the failing CI tasks for this repo (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher authored Aug 15, 2022
1 parent 144a312 commit dfb0fb7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

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

- name: Setup local cache server for Turborepo
uses: felixmosh/turborepo-gh-artifacts@v1
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:

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

- run: yarn lerna version "$(node -e "console.log(require('semver').inc(require('./lerna.json').version, 'patch'))")-pre.${{ github.run_number }}" --no-git-tag-version --no-push --yes
- run: yarn turbo run build --color
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:

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

- run: yarn turbo run build --color
- run: yarn run ci:publish
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:

steps:
- name: Setup git
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: "16.15"
- run: npx lerna bootstrap
node-version: 16
- run: yarn install --immutable
- name: Report changes
run: node ./tools/size-reporter.mjs
env:
Expand Down
2 changes: 1 addition & 1 deletion docs/main/upgrade_3_to_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ In brief, you're going to run the app shell, upgrade the libraries in your front

### Getting Frontend Framework 4.0

Check out the `4.0` branch of [openmrs-esm-core](https://github.com/openmrs/openmrs-esm-core/tree/4.0).
Check out the `main` branch of [openmrs-esm-core](https://github.com/openmrs/openmrs-esm-core/tree/main).
Set it up by running

```sh
Expand Down
2 changes: 1 addition & 1 deletion docs/under_the_hood/migration_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ browser, we can start to integrate the modules together using the new libraries.

## Procedure

1. Get latest openmrs-esm-core branch ([4.0](https://github.com/openmrs/openmrs-esm-core/tree/4.0)) - This is the branch where new versions of the core libraries are specified (thanks to a prior effort by Brandon)
1. Get latest openmrs-esm-core branch ([4.0](https://github.com/openmrs/openmrs-esm-core/tree/main)) - This is the branch where new versions of the core libraries are specified (thanks to a prior effort by Brandon)

2. Build the App Shell – This compiles the core source files into static webpack JS files which can be served. This will automatically bundle all of the openmrs-esm-core/packages/apps/ into a dist folder. The yarn run:shell at the end serves this app shell on 8080 and will be our main entry into the app.

Expand Down

0 comments on commit dfb0fb7

Please sign in to comment.