add mdn_url (#21773) #1
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
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@v4 | |
with: | |
fetch-depth: 0 # get the full repository checkout, not just the inciting commit | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: npm | |
- run: npm ci | |
- run: node --loader=ts-node/esm --no-warnings=ExperimentalWarning ./scripts/enumerate-features.ts features.json | |
- run: node --loader=ts-node/esm --no-warnings=ExperimentalWarning ./scripts/diff-features.ts --no-github --format=json > features.diff.json | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: enumerate-features | |
path: features.json | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: diff-features | |
path: features.diff.json |