From dfb0fb7b60a6d7991fbf6cca520a53bf5d3b243b Mon Sep 17 00:00:00 2001 From: Ian <52504170+ibacher@users.noreply.github.com> Date: Mon, 15 Aug 2022 13:25:04 -0400 Subject: [PATCH] (chore) fix the failing CI tasks for this repo (#507) --- .github/workflows/ci.yml | 6 +++--- .github/workflows/size.yml | 8 ++++---- docs/main/upgrade_3_to_4.md | 2 +- docs/under_the_hood/migration_guide.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a25af30c8..304766d11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml index 1a41b394f..36de4ed33 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -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: diff --git a/docs/main/upgrade_3_to_4.md b/docs/main/upgrade_3_to_4.md index 2ffb676a0..586494c7b 100644 --- a/docs/main/upgrade_3_to_4.md +++ b/docs/main/upgrade_3_to_4.md @@ -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 diff --git a/docs/under_the_hood/migration_guide.md b/docs/under_the_hood/migration_guide.md index b039511c3..e88e4a4f1 100644 --- a/docs/under_the_hood/migration_guide.md +++ b/docs/under_the_hood/migration_guide.md @@ -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.