Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Reusable validator CI workflow #81

Merged
merged 13 commits into from
Jan 29, 2025
Prev Previous commit
Next Next commit
Test fix
nickevansuk committed Jan 21, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 28808132fc7c0cd0b2f1f17176c94d1c7fea5d68
18 changes: 9 additions & 9 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -46,10 +46,10 @@ jobs:
path: _local/data-models
- name: Install data models
run: npm install
working-directory: _local/data-models
working-directory: ./_local/data-models
- name: Test data models
run: npm test
working-directory: _local/data-models
working-directory: ./_local/data-models

- name: Checkout model validator
uses: actions/checkout@v2
@@ -59,10 +59,10 @@ jobs:
path: _local/data-model-validator
- name: Install data model validator
run: npm install
working-directory: _local/data-model-validator
working-directory: ./_local/data-model-validator
- name: Test data model validator
run: npm test
working-directory: _local/data-model-validator
working-directory: ./_local/data-model-validator

- name: Checkout rpde validator
uses: actions/checkout@v2
@@ -72,10 +72,10 @@ jobs:
path: _local/rpde-validator
- name: Install rpde validator
run: npm install
working-directory: _local/rpde-validator
working-directory: ./_local/rpde-validator
- name: Test rpde validator
run: npm test
working-directory: _local/rpde-validator
working-directory: ./_local/rpde-validator

- name: Checkout validator site
uses: actions/checkout@v2
@@ -87,13 +87,13 @@ jobs:
run: npm install

- name: Update data-model-validator-site to reference local data-models
run: npm install file:_local/data-models
run: npm install file:./_local/data-models

- name: Update data-model-validator-site to reference local data-model-validator
run: npm install file:_local/data-model-validator
run: npm install file:./_local/data-model-validator

- name: Update data-model-validator-site to reference local rpde-validator
run: npm install file:_local/rpde-validator
run: npm install file:./_local/rpde-validator

- name: Test validator site
run: npm test