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
6 changes: 4 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Check macro

# The macro goes live in every course when main changes, so every push and
# pull request checks it first.
# The macro goes live in every course when main changes, so every pull
# request checks it first, and main again after the merge. (A pull request's
# branch runs once, as pull_request.)
on:
push:
branches: [main]
pull_request:

permissions:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,8 @@ https://liascript.github.io/LiveEditor/?/show/file/https://raw.githubusercontent
```

`node scripts/check-macro.mjs` checks the syntax of the template's `<script>`
blocks with `node --check`; CI runs it on every push and pull request, since a
merge to `main` reaches every course.
blocks with `node --check`; CI runs it on every pull request and on `main`,
since a merge to `main` reaches every course.

For local embed development, change `embedOrigin` and `embedUrl` in the template
header to the origin printed by `npm run dev:embed` in `glpython-editor`.
Loading