Skip to content

Commit

Permalink
(chore) Update GitHub Actions (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Jan 2, 2024
1 parent 85301d8 commit bb1bf9b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand All @@ -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: |
Expand All @@ -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"
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
timeout-minutes: 15
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Copy test environment variables
run: cp example.env .env

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18

Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
run: docker stop $(docker ps -a -q)

- name: Upload report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
Expand Down

0 comments on commit bb1bf9b

Please sign in to comment.