Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Build'

on: [pull_request, push]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: ljharb/actions/node/install@main
name: 'nvm install lts/* && npm install'
- run: npm run build
# we could add this to package.json test script but it potentially modifies the README
# for now let's just make sure it runs without error in CI
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"test": "npm run lint"
},
"devDependencies": {
"dedent": "^0.7.0",
"glob": "^7.2.3",
"markdown-magic": "^0.1.25",
"dedent": "^1.7.0",
"glob": "^11.0.3",
"markdown-magic": "^4.0.4",
"markdownlint-cli2": "^0.18.1",
"marked": "^16.3.0"
"marked": "^17.0.0"
}
}
2 changes: 1 addition & 1 deletion scripts/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

const glob = require('glob');
const path = require('path');
const magic = require('markdown-magic');
const { markdownMagic: magic } = require('markdown-magic');
const dedent = require('dedent');

const root = path.join(__dirname, '..');
Expand Down