-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add feature inventory artifacts on push (#13695)
* Generate a feature inventory for every push * Add diffed features * Move to push only
- Loading branch information
Showing
1 changed file
with
27 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Add artifacts on push | ||
|
||
on: | ||
push: [] | ||
|
||
jobs: | ||
test: | ||
name: Enumerate and diff features | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 # get the full repository checkout, not just the inciting commit | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 14.x | ||
- run: npm install | ||
- run: node ./scripts/enumerate-features.js features.json | ||
- run: node ./scripts/diff-features.js --format=json > features.diff.json | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: enumerate-features | ||
path: features.json | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: diff-features | ||
path: features.diff.json |