-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa458c6
commit ee8449a
Showing
44 changed files
with
1,117 additions
and
1,007 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
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 |
---|---|---|
@@ -1,18 +1,22 @@ | ||
## Requirements | ||
# Requirements | ||
|
||
- [ ] This PR has a title that briefly describes the work done, including the ticket number if there is a ticket. | ||
- [ ] My work conforms to the [OpenMRS 3.0 Styleguide](https://om.rs/styleguide) and [design documentation](https://zeroheight.com/23a080e38/p/880723-introduction). | ||
- [ ] My work includes tests or is validated by existing tests. | ||
|
||
## Summary | ||
|
||
<!-- Please describe what problems your PR addresses. --> | ||
|
||
## Screenshots | ||
|
||
<!-- Required if you are making UI changes. --> | ||
|
||
## Related Issue | ||
|
||
<!-- Paste the link to the Jira ticket here if one exists. --> | ||
<!-- https://issues.openmrs.org/browse/O3- --> | ||
|
||
## Other | ||
|
||
<!-- Anything not covered above --> |
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 |
---|---|---|
|
@@ -2,9 +2,9 @@ name: Form Entry CI | |
|
||
on: | ||
push: | ||
branches: [ main ] | ||
branches: [main] | ||
pull_request: | ||
branches: [ main ] | ||
branches: [main] | ||
release: | ||
types: | ||
- created | ||
|
@@ -18,20 +18,20 @@ jobs: | |
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
cache: "npm" | ||
node-version: '16' | ||
cache: 'npm' | ||
- run: yarn install --frozen-lockfile | ||
|
||
- name: Setup a local cache server for Turborepo | ||
uses: felixmosh/turborepo-gh-artifacts@v2 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
server-token: ${{ secrets.TURBO_SERVER_TOKEN }} | ||
|
||
- name: Run lint | ||
run: yarn turbo lint --color --concurrency=5 --api="http://127.0.0.1:9080" --token="${{ secrets.TURBO_SERVER_TOKEN }}" --team="${{ github.repository_owner }}" | ||
|
||
- name: Run tests | ||
- name: Run tests | ||
run: yarn turbo test --color --concurrency=5 --api="http://127.0.0.1:9080" --token="${{ secrets.TURBO_SERVER_TOKEN }}" --team="${{ github.repository_owner }}" | ||
|
||
- name: Run build | ||
|
@@ -47,11 +47,11 @@ jobs: | |
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
cache: "npm" | ||
node-version: '16' | ||
cache: 'npm' | ||
- run: yarn install --frozen-lockfile | ||
- run: export NEW_VERSION="$(node -e "console.log(require('semver').inc(require('./package.json').version, 'patch'))")-pre.${{ github.run_number }}" && yarn version --new-version $NEW_VERSION --no-git-tag-version && cd projects/ngx-formentry && yarn version --new-version $NEW_VERSION --no-git-tag-version | ||
- run: yarn turbo build:lib --color --concurrency=5 | ||
- run: yarn turbo build:lib --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 | ||
- run: yarn publish dist/ngx-formentry --tag next --access public | ||
|
@@ -74,8 +74,8 @@ jobs: | |
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "16" | ||
cache: "npm" | ||
node-version: '16' | ||
cache: 'npm' | ||
- run: yarn install --frozen-lockfile | ||
|
||
- name: Build | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"trailingComma": "none", | ||
"semi": true, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"semi": true | ||
"trailingComma": "none" | ||
} |
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
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
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
Oops, something went wrong.