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
11 changes: 8 additions & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '24.x'
cache: npm
- run: npm install -g npm@11 --registry=https://registry.npmjs.org
- name: Setup Pages
uses: actions/configure-pages@v5
- run: npm ci
- name: Build docs
run: npm run docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v5
with:
path: ./docs/build

Expand All @@ -36,4 +41,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
node-version: '24.x'
registry-url: 'https://registry.npmjs.org'
cache: npm
- run: npm install -g npm@11 --registry=https://registry.npmjs.org
- uses: microbit-foundation/npm-package-versioner-action@v3
- run: npm ci
env:
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.18.0
14 changes: 14 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
access=public

min-release-age=7
min-release-age-exclude[]=@microbit/*
min-release-age-exclude[]=@microbit-foundation/*

# root here means this project's package.json
allow-git=root
allow-remote=root
allow-file=root
allow-directory=root

strict-allow-scripts=true

engine-strict=true
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@
"type": "git",
"url": "https://github.com/microbit-foundation/makecode-embed"
},
"allowScripts": {
"esbuild": true,
"fsevents": true
},
"packageManager": "npm@11.18.0",
"engines": {
"node": ">=20",
"npm": ">=10"
"node": ">=24.0.0",
"npm": ">=11.18.0"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
Expand Down
Loading