diff --git a/.github/workflows/add-push-artifacts.yml b/.github/workflows/add-push-artifacts.yml new file mode 100644 index 00000000000000..9ecf45af04120e --- /dev/null +++ b/.github/workflows/add-push-artifacts.yml @@ -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