Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Dec 17, 2024
1 parent 94ce075 commit 5fb9132
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 518 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ jobs:
BUILD_GOOGLE_ANALYTICS_MEASUREMENT_ID: G-XXXXXXXX
run: |
yarn build:prepare
# BUILD_FOLDERSEARCH=mdn/kitchensink yarn build:docs
BUILD_FOLDERSEARCH=web/javascript/reference/global_objects/array/foreach yarn build:docs
yarn build -f BUILD_FOLDERSEARCH=$CONTENT_ROOT/en-us/web/javascript/reference/global_objects/array/foreach -f $CONTENT_ROOT/en-us/mdn/kitchensink
yarn render:html
- name: Serve and lhci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
ENV_FILE: .env.testing
run: |
yarn build:prepare
yarn build:docs
yarn build
yarn render:html
yarn start:static-server > /tmp/stdout.log 2> /tmp/stderr.log &
Expand Down
2 changes: 1 addition & 1 deletion bins/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ config({

process.env.BUILD_OUT_ROOT = process.env.BUILD_OUT_ROOT || BUILD_OUT_ROOT;

spawn(rariBin, ["build"], { stdio: "inherit" });
spawn(rariBin, ["build", ...process.argv.slice(2)], { stdio: "inherit" });
2 changes: 1 addition & 1 deletion bins/tool.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ config({

process.env.BUILD_OUT_ROOT = process.env.BUILD_OUT_ROOT || BUILD_OUT_ROOT;

spawn(rariBin, ["content"], { stdio: "inherit" });
spawn(rariBin, ["content", ...process.argv.slice(2)], { stdio: "inherit" });
2 changes: 1 addition & 1 deletion scripts/testing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ echo "----------------------"
export ENV_FILE=".env.testing"

yarn build:prepare
yarn build:docs
yarn build
yarn render:html

nohup yarn start:static-server > testing.log 2>&1 &
Expand Down
2 changes: 1 addition & 1 deletion testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To run these tests, first run:
```sh
export ENV_FILE=.env.testing
yarn build:prepare
yarn build:docs
yarn build
yarn render:html
yarn start:static-server
```
Expand Down
2 changes: 1 addition & 1 deletion testing/scripts/functional-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
export ENV_FILE=.env.testing

yarn build:prepare
yarn build:docs
yarn build
yarn render:html

yarn test:testing $@
1 change: 0 additions & 1 deletion testing/tests/developing.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ test.describe("Testing the kitchensink page", () => {
).json<any>();

expect(doc.title).toBe("The MDN Content Kitchensink");
expect(doc.flaws).toEqual({});
});

// XXX Do more advanced tasks that test the server and document "CRUD operations"
Expand Down
Loading

0 comments on commit 5fb9132

Please sign in to comment.