Skip to content

Commit

Permalink
Merge branch 'master' into chore/e2e-optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Dec 4, 2024
2 parents c0b97c7 + 2cafda6 commit 6b9f2d2
Show file tree
Hide file tree
Showing 62 changed files with 5,603 additions and 2,246 deletions.
22 changes: 18 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
- package-ecosystem: npm
directory: /
schedule:
interval: 'weekly'
interval: weekly
open-pull-requests-limit: 5
versioning-strategy: 'increase'
versioning-strategy: increase
groups:
dependencies:
applies-to: version-updates
update-types:
- minor
- patch
exclude-patterns:
- '*@dhis2*'
- '*i18next*'
security:
applies-to: security-updates
update-types:
- minor
- patch
6 changes: 3 additions & 3 deletions .github/workflows/dhis2-preview-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
runs-on: ubuntu-latest
if: "!github.event.push.repository.fork && github.actor != 'dependabot[bot]'"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x

Expand All @@ -34,7 +34,7 @@ jobs:

- name: Deploy
id: netlify-deploy
uses: nwtgck/actions-netlify@v1.2.2
uses: nwtgck/actions-netlify@v3
timeout-minutes: 1
with:
github-token: ${{ secrets.DHIS2_BOT_GITHUB_TOKEN }}
Expand Down
245 changes: 0 additions & 245 deletions .github/workflows/dhis2-verify-app.yml

This file was deleted.

8 changes: 5 additions & 3 deletions .github/workflows/dhis2-verify-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
lint-pr-title:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: c-hive/gha-yarn-cache@v2
- run: yarn install --frozen-lockfile
- id: commitlint
Expand All @@ -20,13 +20,15 @@ jobs:
lint-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: c-hive/gha-yarn-cache@v2
- run: yarn install --frozen-lockfile
- id: commitlint
# This will return a config file with a .js extensions for @dhis2/cli-style ^10.4.3
run: echo ::set-output name=config_path::$(node -e "process.stdout.write(require('@dhis2/cli-style').config.commitlint)")
- uses: wagoid/commitlint-github-action@v4
# commitlint-github-action@v6+ requires a .mjs extension for the config file, so the highest version we can use is 5
- uses: wagoid/commitlint-github-action@v5
with:
configFile: ${{ steps.commitlint.outputs.config_path }}
8 changes: 4 additions & 4 deletions .github/workflows/e2e-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
id: instance-version
uses: dhis2/action-instance-version@v1
with:
instance-url: https://test.e2e.dhis2.org/analytics-2.41d
instance-url: https://test.e2e.dhis2.org/analytics-dev
username: ${{ secrets.username }}
password: ${{ secrets.password }}

Expand All @@ -43,9 +43,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x

Expand All @@ -62,7 +62,7 @@ jobs:
env:
BROWSER: none
CYPRESS_RECORD_KEY: ${{ secrets.recordkey }}
CYPRESS_dhis2BaseUrl: https://test.e2e.dhis2.org/analytics-2.41d
CYPRESS_dhis2BaseUrl: https://test.e2e.dhis2.org/analytics-dev
CYPRESS_dhis2InstanceVersion: ${{ needs.compute-dev-version.outputs.version }}
CYPRESS_dhis2Username: ${{ secrets.username }}
CYPRESS_dhis2Password: ${{ secrets.password }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
steps:
- name: Send failure message to analytics-internal-kfmt slack channel
id: slack
uses: slackapi/slack-github-action@v1.23.0
uses: slackapi/slack-github-action@v1.27.0
with:
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
slack-message: ':x: Line-listing-app e2e nightly build <https://cloud.cypress.io/projects/m5qvjx/runs?branches=[{"label":"master","suggested":false,"value":"master"}]|failed>'
Expand Down
Loading

0 comments on commit 6b9f2d2

Please sign in to comment.