-
Notifications
You must be signed in to change notification settings - Fork 2.5k
33 lines (30 loc) · 1.06 KB
/
add-push-artifacts.yml
File metadata and controls
33 lines (30 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Add artifacts on push
on:
push:
permissions:
contents: read
jobs:
test:
name: Enumerate and diff features
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0 # get the full repository checkout, not just the inciting commit
persist-credentials: false
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version-file: ".nvmrc"
cache: npm
package-manager-cache: true
- run: npm ci
- run: node ./scripts/enumerate-features.js features.json
- run: node ./scripts/diff-features.js --no-github --format=json > features.diff.json
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: enumerate-features
path: features.json
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: diff-features
path: features.diff.json