Skip to content

Commit aa8732b

Browse files
authored
Add fetch-data script to pull latest conformance test release (#59)
Adds npm script to site/package.json that downloads the latest conformance-matrix.json from GitHub releases, automating the data fetch process.
1 parent 2fbdafe commit aa8732b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

site/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"dev": "next dev",
88
"build": "next build",
99
"start": "next start",
10-
"lint": "next lint"
10+
"lint": "next lint",
11+
"fetch-data": "mkdir -p public/data && curl -sL $(curl -s https://api.github.com/repos/runtimed/kernel-testbed/releases/latest | grep browser_download_url | grep conformance-matrix.json | cut -d '\"' -f 4) -o public/data/conformance-matrix.json"
1112
},
1213
"dependencies": {
1314
"@catppuccin/tailwindcss": "^1.0.0",

0 commit comments

Comments
 (0)