-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chore) Update GitHub Actions (#869)
- Loading branch information
1 parent
85301d8
commit bb1bf9b
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,9 @@ jobs: | |
actions: read | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
registry-url: "https://registry.npmjs.org" | ||
node-version: "18" | ||
|
@@ -55,15 +55,15 @@ jobs: | |
pre_release: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
if: ${{ (github.event.head_commit == null || | ||
!startsWith(github.event.head_commit.message, '(chore) Release v')) && | ||
|
||
if: ${{ (github.event.head_commit == null || | ||
!startsWith(github.event.head_commit.message, '(chore) Release v')) && | ||
(github.event_name == 'push' || github.event_name == 'workflow_dispatch') }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
registry-url: "https://registry.npmjs.org" | ||
node-version: "18" | ||
|
@@ -91,7 +91,7 @@ jobs: | |
|
||
- name: Build | ||
run: yarn turbo run build --color --concurrency=5 | ||
|
||
- run: git config user.email "[email protected]" && git config user.name "OpenMRS CI" | ||
- run: git add . && git commit -m "Prerelease version" --no-verify | ||
|
||
|
@@ -101,7 +101,7 @@ jobs: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: packages | ||
path: | | ||
|
@@ -114,9 +114,9 @@ jobs: | |
if: ${{ github.event_name == 'release' }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
registry-url: "https://registry.npmjs.org" | ||
node-version: "18" | ||
|
@@ -145,8 +145,8 @@ jobs: | |
|
||
needs: pre_release | ||
|
||
if: ${{ (github.event.head_commit == null || | ||
!startsWith(github.event.head_commit.message, '(release)')) && | ||
if: ${{ (github.event.head_commit == null || | ||
!startsWith(github.event.head_commit.message, '(release)')) && | ||
(github.event_name == 'push' || github.event_name == 'workflow_dispatch') }} | ||
|
||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters