Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
d895789
chore(deps): Bump @actions/core in /.github/actions/auth
dependabot[bot] Feb 9, 2026
0587393
Merge branch 'main' into dependabot/npm_and_yarn/dot-github/actions/a…
JoyceZhu Feb 13, 2026
b33743b
chore(deps): Bump @actions/core in /.github/actions/fix
dependabot[bot] Feb 16, 2026
775960a
chore(deps): Bump @actions/core in /.github/actions/find
dependabot[bot] Feb 16, 2026
68ae0bf
Merge branch 'main' into dependabot/npm_and_yarn/dot-github/actions/f…
JoyceZhu Feb 18, 2026
1cb7ec3
chore: Re-run checks, where smockle is the last pusher
smockle Feb 18, 2026
762aeae
Merge branch 'main' into dependabot/npm_and_yarn/dot-github/actions/f…
smockle Feb 18, 2026
d92c97d
chore(deps): Bump actions/setup-node
dependabot[bot] Feb 23, 2026
686453b
chore(deps): Bump @actions/core in /.github/actions/file
dependabot[bot] Feb 23, 2026
b534ea8
chore(deps): Bump actions/setup-node from 4 to 6 in the github-action…
JoyceZhu Feb 24, 2026
975bb4a
Merge branch 'main' into dependabot/npm_and_yarn/dot-github/actions/a…
JoyceZhu Feb 24, 2026
ef69aa1
Fix import for ESM
JoyceZhu Feb 24, 2026
43dc21d
Fix `actions/core` import for ESM
JoyceZhu Feb 24, 2026
208e090
Fix `actions/core` import for ESM
JoyceZhu Feb 24, 2026
9339153
Fix `actions/core` import for ESM
JoyceZhu Feb 24, 2026
eb07bbb
chore(deps): Bump @actions/core from 2.0.1 to 3.0.0 in /.github/actio…
JoyceZhu Feb 24, 2026
cc8650e
Merge branch 'main' into dependabot/npm_and_yarn/dot-github/actions/f…
JoyceZhu Feb 24, 2026
b666418
chore(deps): Bump @actions/core from 2.0.1 to 3.0.0 in /.github/actio…
JoyceZhu Feb 24, 2026
c855430
Merge branch 'main' into dependabot/npm_and_yarn/dot-github/actions/f…
JoyceZhu Feb 24, 2026
cc39faf
chore(deps): Bump @actions/core from 2.0.1 to 3.0.0 in /.github/actio…
JoyceZhu Feb 24, 2026
75fea76
chore(deps): Bump the npm-minor-and-patch group across 5 directories …
dependabot[bot] Feb 24, 2026
71774c8
Add more error logging to Actions
JoyceZhu Feb 24, 2026
f2a4985
chore(deps): Bump @actions/core from 2.0.1 to 3.0.0 in /.github/actio…
JoyceZhu Feb 24, 2026
7666317
Merge branch 'main' into joyce/add_more_error_logging_to_Actions
JoyceZhu Feb 24, 2026
60fa503
Fix mistaken `console.error`
JoyceZhu Feb 24, 2026
b665f80
Update aXe import
JoyceZhu Feb 24, 2026
3fc822d
chore(deps): Bump the npm-minor-and-patch group across 5 directories …
JoyceZhu Feb 24, 2026
c869886
Dynamically import `actions/core` after `ci`
JoyceZhu Feb 24, 2026
584eedd
Merge branch 'main' into joyce/add_more_error_logging_to_Actions
JoyceZhu Feb 24, 2026
066e45c
Add more error logging to Actions (#143)
JoyceZhu Feb 25, 2026
7911d38
Initial plan
Copilot Feb 26, 2026
4f418b1
Add reduced motion and color scheme action inputs
Copilot Feb 26, 2026
ac972a3
Fix TypeScript narrowing for new scanner inputs
Copilot Feb 26, 2026
88c9363
Name some types for readability
JoyceZhu Feb 26, 2026
8d104a2
Clarify error messages/documentation
JoyceZhu Feb 26, 2026
cf0b579
Add workflow input options for `reducedMotion` and `colorScheme` (#145)
JoyceZhu Feb 28, 2026
90cc14a
chore(deps-dev): Bump minimatch from 10.2.2 to 10.2.4
dependabot[bot] Feb 28, 2026
686a07f
chore(deps-dev): Bump minimatch from 10.2.2 to 10.2.4 (#147)
JoyceZhu Feb 28, 2026
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
29 changes: 15 additions & 14 deletions .github/actions/auth/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@

import fs from 'node:fs'
import * as url from 'node:url'
import { spawn } from 'node:child_process'
import {spawn} from 'node:child_process'

function spawnPromisified(command, args, { quiet = false, ...options } = {}) {
function spawnPromisified(command, args, {quiet = false, ...options} = {}) {
return new Promise((resolve, reject) => {
const proc = spawn(command, args, options)
proc.stdout.setEncoding('utf8')
proc.stdout.on('data', (data) => {
proc.stdout.on('data', data => {
if (!quiet) {
console.log(data)
}
})
proc.stderr.setEncoding('utf8')
proc.stderr.on('data', (data) => {
proc.stderr.on('data', data => {
console.error(data)
})
proc.on('close', (code) => {
proc.on('close', code => {
if (code !== 0) {
reject(code)
} else {
Expand All @@ -31,31 +31,32 @@ function spawnPromisified(command, args, { quiet = false, ...options } = {}) {
await (async () => {
// If dependencies are not vendored-in, install them at runtime.
try {
await fs.accessSync(
url.fileURLToPath(new URL('./node_modules', import.meta.url)),
fs.constants.R_OK
)
await fs.accessSync(url.fileURLToPath(new URL('./node_modules', import.meta.url)), fs.constants.R_OK)
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fs.accessSync is synchronous, so await fs.accessSync(...) is misleading. Remove the await (or switch to fs.promises.access).

Suggested change
await fs.accessSync(url.fileURLToPath(new URL('./node_modules', import.meta.url)), fs.constants.R_OK)
await fs.promises.access(url.fileURLToPath(new URL('./node_modules', import.meta.url)), fs.constants.R_OK)

Copilot uses AI. Check for mistakes.
} catch {
try {
await spawnPromisified('npm', ['ci'], {
cwd: url.fileURLToPath(new URL('.', import.meta.url)),
quiet: true
quiet: true,
})
} catch {
} catch (error) {
console.error(`npm ci failed: ${error}`)
process.exit(1)
}
} finally {
const core = await import('@actions/core')
// Compile TypeScript.
try {
await spawnPromisified('npm', ['run', 'build'], {
cwd: url.fileURLToPath(new URL('.', import.meta.url)),
quiet: true
quiet: true,
})
} catch {
} catch (error) {
core.setFailed(`npm run build (TypeScript compilation) failed: ${error}`)
process.exit(1)
}
// Run the main script.
core.info('Running auth Action index.js...')
const action = await import('./dist/index.js')
await action.default()
}
})()
})()
86 changes: 37 additions & 49 deletions .github/actions/auth/package-lock.json

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

6 changes: 3 additions & 3 deletions .github/actions/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"license": "MIT",
"type": "module",
"dependencies": {
"@actions/core": "^2.0.1",
"playwright": "^1.58.1"
"@actions/core": "^3.0.0",
"playwright": "^1.58.2"
},
"devDependencies": {
"@types/node": "^25.2.0",
"@types/node": "^25.3.0",
"typescript": "^5.9.3"
}
}
2 changes: 1 addition & 1 deletion .github/actions/auth/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type {AuthContextOutput} from './types.d.js'
import process from 'node:process'
import core from '@actions/core'
import * as core from '@actions/core'
import playwright from 'playwright'

export default async function () {
Expand Down
29 changes: 15 additions & 14 deletions .github/actions/file/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@

import fs from 'node:fs'
import * as url from 'node:url'
import { spawn } from 'node:child_process'
import {spawn} from 'node:child_process'

function spawnPromisified(command, args, { quiet = false, ...options } = {}) {
function spawnPromisified(command, args, {quiet = false, ...options} = {}) {
return new Promise((resolve, reject) => {
const proc = spawn(command, args, options)
proc.stdout.setEncoding('utf8')
proc.stdout.on('data', (data) => {
proc.stdout.on('data', data => {
if (!quiet) {
console.log(data)
}
})
proc.stderr.setEncoding('utf8')
proc.stderr.on('data', (data) => {
proc.stderr.on('data', data => {
console.error(data)
})
proc.on('close', (code) => {
proc.on('close', code => {
if (code !== 0) {
reject(code)
} else {
Expand All @@ -31,31 +31,32 @@ function spawnPromisified(command, args, { quiet = false, ...options } = {}) {
await (async () => {
// If dependencies are not vendored-in, install them at runtime.
try {
await fs.accessSync(
url.fileURLToPath(new URL('./node_modules', import.meta.url)),
fs.constants.R_OK
)
await fs.accessSync(url.fileURLToPath(new URL('./node_modules', import.meta.url)), fs.constants.R_OK)
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fs.accessSync is synchronous; await has no effect here and can confuse readers. Remove await or use the async fs.promises.access.

Suggested change
await fs.accessSync(url.fileURLToPath(new URL('./node_modules', import.meta.url)), fs.constants.R_OK)
await fs.promises.access(url.fileURLToPath(new URL('./node_modules', import.meta.url)), fs.constants.R_OK)

Copilot uses AI. Check for mistakes.
} catch {
try {
await spawnPromisified('npm', ['ci'], {
cwd: url.fileURLToPath(new URL('.', import.meta.url)),
quiet: true
quiet: true,
})
} catch {
} catch (error) {
console.error(`npm ci failed: ${error}`)
process.exit(1)
}
} finally {
const core = await import('@actions/core')
// Compile TypeScript.
try {
await spawnPromisified('npm', ['run', 'build'], {
cwd: url.fileURLToPath(new URL('.', import.meta.url)),
quiet: true
quiet: true,
})
} catch {
} catch (error) {
core.setFailed(`npm run build (TypeScript compilation) failed: ${error}`)
process.exit(1)
}
// Run the main script.
core.info('Running file Action index.js...')
const action = await import('./dist/index.js')
await action.default()
}
})()
})()
Loading