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
19 changes: 11 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Populate design system submodule
run: git submodule update --init

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '22'
cache: 'npm'

- name: Install dependencies
Expand All @@ -53,11 +53,14 @@ jobs:
run: npx playwright install chromium --with-deps

- name: Start app server
# No Octavus credentials in CI — audit.mjs stubs /api/* when A11Y_CI=1.
# A placeholder AGENT_ID keeps the server from warning; the stub never
# reaches the create-session path.
# No real Octavus credentials in CI — audit.mjs stubs /api/* when
# A11Y_CI=1. Placeholders only satisfy OctavusClient construction so
# the static app can serve; the stub never reaches create-session.
run: |
PORT=3100 AGENT_TARGET=dev OCTAVUS_AGENT_ID=ci-placeholder \
PORT=3100 AGENT_TARGET=dev \
OCTAVUS_API_URL=https://ci.placeholder \
OCTAVUS_API_KEY=ci-placeholder \
OCTAVUS_AGENT_ID=ci-placeholder \
node server.js > /tmp/chatcpt-ci-server.log 2>&1 &
echo $! > /tmp/chatcpt-ci-server.pid
for i in $(seq 1 30); do
Expand All @@ -83,7 +86,7 @@ jobs:

- name: Upload axe report
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: axe-report
path: a11y-audits/tools/a11y-out-ci/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Populate design system submodule
run: git submodule update --init

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: '22'
cache: 'npm'

- name: Install dependencies
Expand All @@ -42,7 +42,7 @@ jobs:
mv /tmp/dist.tar.gz dist.tar.gz

- name: Upload build artifact (for workflow logs)
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: dist
path: dist.tar.gz
Expand Down