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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build web pages for branch
name: Build website for branch

on:
push:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build web pages
name: Build website

on:
push:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"zxi": "zx scripts/zxi.mjs",
"prepare": "npm run zxi scripts/prepare.mjs",
"build-compat": "npm run zxi scripts/build-compat/index.mjs",
"build-web": "npm run zxi time website/index.mjs",
"build-web-local": "npm run zxi time website/build-local.mjs",
"build-website": "npm run zxi time website/index.mjs",
"build-website-local": "npm run zxi time website/build-local.mjs",
"bundle": "run-s bundle-package bundle-tests",
"bundle-package": "npm run zxi time scripts/bundle-package/bundle-package.mjs",
"bundle-tests": "npm run zxi time cd scripts/bundle-tests/bundle-tests.mjs",
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-dependencies/check-dependencies.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ignore = {
'tests/observables': [
'moon-unit',
],
'web-site': [
website: [
'jsdom', // pinned because of a bug https://github.com/jsdom/jsdom/issues/3959
],
};
Expand Down
4 changes: 2 additions & 2 deletions website/package-lock.json

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

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "web-site",
"name": "website",
"type": "module",
"scripts": {
"build": "vite build",
Expand Down
2 changes: 1 addition & 1 deletion website/scripts/helpers.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export async function checkoutVersion(version, execDir) {
export async function buildWeb(branch, execDir, local = false) {
console.log('Building web...');
console.time('Built web');
let command = 'npm run build-web';
let command = 'npm run build-website';
if (branch) command += ` branch=${ branch }`;
if (local) command += ' local';
const stdout = await exec(command, { cwd: execDir });
Expand Down