Skip to content

Commit

Permalink
ci: add build job
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Jun 10, 2024
1 parent 1f8eb86 commit 925e77c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
workflow_call:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn d2-app-scripts build
3 changes: 3 additions & 0 deletions .github/workflows/dhis2-verify-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ env:
D2_VERBOSE: true

jobs:
build:
uses: ./.github/workflows/build.yml

lint:
uses: ./.github/workflows/lint.yml

Expand Down

0 comments on commit 925e77c

Please sign in to comment.