Skip to content

Commit

Permalink
Add feature inventory artifacts on push (#13695)
Browse files Browse the repository at this point in the history
* Generate a feature inventory for every push

* Add diffed features

* Move to push only
  • Loading branch information
ddbeck authored Nov 24, 2021
1 parent b6f3097 commit fda2dec
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/add-push-artifacts.yml
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

0 comments on commit fda2dec

Please sign in to comment.