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
8 changes: 4 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ concurrency:

jobs:
changes:
uses: lernapps/tooling/.github/workflows/changes.yml@77dd4b0f085097beb7d2453e3cf69bffb0cef98e # main
uses: lernapps/tooling/.github/workflows/changes.yml@5ebb9ff0e5d6c9e24082adb0439478f0fd2fccae # main
with:
tooling-ref: 77dd4b0f085097beb7d2453e3cf69bffb0cef98e # the classifier of the same commit, and TOOLING_REF of the pre-push hook
tooling-ref: 5ebb9ff0e5d6c9e24082adb0439478f0fd2fccae # the classifier of the same commit, and TOOLING_REF of the pre-push hook

build: # builds and checks the site
needs: changes
if: needs.changes.outputs.site == 'true'
runs-on: ubuntu-latest
steps:
- uses: lernapps/tooling/actions/site-check@77dd4b0f085097beb7d2453e3cf69bffb0cef98e # main
- uses: lernapps/tooling/actions/site-check@5ebb9ff0e5d6c9e24082adb0439478f0fd2fccae # main

# The tests of the pre-push hook (npm test, test/pre-push.test.mjs); they need no install
test:
Expand All @@ -55,7 +55,7 @@ jobs:
permissions:
contents: write
steps:
- uses: lernapps/tooling/actions/site-deploy@77dd4b0f085097beb7d2453e3cf69bffb0cef98e # main
- uses: lernapps/tooling/actions/site-deploy@5ebb9ff0e5d6c9e24082adb0439478f0fd2fccae # main

site: # required status check: always runs, fails when a job above failed or was cancelled
needs: [changes, build, test, deploy]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ concurrency:

jobs:
changes:
uses: lernapps/tooling/.github/workflows/changes.yml@77dd4b0f085097beb7d2453e3cf69bffb0cef98e # main
uses: lernapps/tooling/.github/workflows/changes.yml@5ebb9ff0e5d6c9e24082adb0439478f0fd2fccae # main
with:
tooling-ref: 77dd4b0f085097beb7d2453e3cf69bffb0cef98e # the classifier of the same commit, and TOOLING_REF of the pre-push hook
tooling-ref: 5ebb9ff0e5d6c9e24082adb0439478f0fd2fccae # the classifier of the same commit, and TOOLING_REF of the pre-push hook
permissions:
contents: read

Expand All @@ -34,7 +34,7 @@ jobs:
github.event.pull_request.head.repo.full_name == github.repository &&
(github.event.action == 'closed' || needs.changes.outputs.site == 'true')
steps:
- uses: lernapps/tooling/actions/site-preview@77dd4b0f085097beb7d2453e3cf69bffb0cef98e # main
- uses: lernapps/tooling/actions/site-preview@5ebb9ff0e5d6c9e24082adb0439478f0fd2fccae # main
with:
site: /

Expand Down
2 changes: 1 addition & 1 deletion scripts/pre-push.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { fileURLToPath } from "node:url";
* run TypeScript below node_modules/, so not the installed @lernapps/tooling). The same commit as `tooling-ref` and
* changes.yml@ in .github/workflows/ (test/pre-push.test.mjs).
*/
export const TOOLING_REF = "77dd4b0f085097beb7d2453e3cf69bffb0cef98e";
export const TOOLING_REF = "5ebb9ff0e5d6c9e24082adb0439478f0fd2fccae";

/** The steps of a scope: [name, command]; each runs after the one before has passed. */
export function steps(scope) {
Expand Down