-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Merged Rulesets Fix - Overwrite Spectral.yml File (#28)
Updated workflow for merged ruleset overwrite
- Loading branch information
1 parent
0546a36
commit ef5ff23
Showing
1 changed file
with
6 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,9 @@ jobs: | |
npm test | ||
working-directory: rulesets | ||
name: unit test validation | ||
- run: | | ||
rm sps-api-standards.spectral.yml | ||
name: remove existing merged rulesets | ||
- name: test merging of rulesets | ||
uses: mikefarah/[email protected] | ||
with: | ||
|
@@ -47,6 +50,9 @@ jobs: | |
persist-credentials: false | ||
- name: zip documentation | ||
run: zip -r sps-api-standards-documentation.zip standards | ||
- run: | | ||
rm sps-api-standards.spectral.yml | ||
name: remove existing merged rulesets | ||
- name: merge spectral rulesets | ||
uses: mikefarah/[email protected] | ||
with: | ||
|