-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from e-picsa/ci/build-tests
Ci/build tests
- Loading branch information
Showing
10 changed files
with
65 additions
and
61 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Ensure build and tests pass | ||
|
||
name: Build Test | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
lfs: true | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
cache: 'yarn' | ||
- run: yarn install --immutable | ||
# TODO - Ensure tests pass | ||
# - run: yarn nx test | ||
# Ensure can also build | ||
- run: yarn nx 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { fieldVisit } from './field-visit'; | ||
import { registration } from './registration'; | ||
import { test } from './test'; | ||
import { testForm } from './testForm'; | ||
|
||
const FORMS = [registration, fieldVisit, test]; | ||
const FORMS = [registration, fieldVisit, testForm]; | ||
|
||
export default FORMS; |
19 changes: 0 additions & 19 deletions
19
apps/picsa-apps/extension-app/src/app/data/surveys/test.ts
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
apps/picsa-apps/extension-app/src/app/data/surveys/testForm.ts
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export const testForm = { | ||
_key: 'testForm', | ||
name: 'Test Form', | ||
groups: ['u3EP0KB66MDcD3Ibom0o'], | ||
isActive: false, | ||
surveyJson: { | ||
pages: [ | ||
{ | ||
name: 'page1', | ||
elements: [ | ||
{ | ||
type: 'text', | ||
name: 'question1', | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
}; |
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