Skip to content

Commit 0d8f607

Browse files
committed
tweaks CI
1 parent 4a880d7 commit 0d8f607

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/node.js.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
with:
3333
path: "**/node_modules"
3434
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
35-
35+
3636
- name: Install dependencies
3737
if: steps.cache.outputs.cache-hit != 'true'
3838
run: yarn install --immutable
39-
39+
4040
- name: Setup local cache server for Turborepo
4141
uses: felixmosh/turborepo-gh-artifacts@v2
4242
with:
@@ -66,7 +66,6 @@ jobs:
6666
- name: Use Node.js
6767
uses: actions/setup-node@v3
6868

69-
7069
- name: Cache dependencies
7170
id: cache
7271
uses: actions/cache@v3
@@ -77,20 +76,20 @@ jobs:
7776
- name: Install dependencies
7877
if: steps.cache.outputs.cache-hit != 'true'
7978
run: yarn install --immutable
80-
79+
8180
- name: Setup local cache server for Turborepo
8281
uses: felixmosh/turborepo-gh-artifacts@v2
8382
with:
8483
repo-token: ${{ secrets.GITHUB_TOKEN }}
8584
server-token: ${{ secrets.TURBO_SERVER_TOKEN }}
8685

8786
- name: Version
88-
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
87+
run: yarn version "$(node -e "console.log(require('semver').inc(require('./lerna.json').version, 'patch'))")-pre.${{ github.run_number }}"
8988

9089
- name: Build
9190
run: yarn turbo run build --color --concurrency=5
9291

93-
- run: git config user.email "<>" && git config user.name "GitHub Actions Bot"
92+
- run: git config user.email "<>" && git config user.name "UgandaEMR CI"
9493
- run: git add . && git commit -m "Prerelease version" --no-verify
9594

9695
- name: Pre-release

0 commit comments

Comments
 (0)