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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
test:
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout code
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
smoke:
name: Smoke Check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
DEPLOY_BRANCH: ${{ inputs.branch || github.event.client_payload.branch }}
DEPLOY_URL: ${{ inputs.base_url || github.event.client_payload.base_url }}
Expand Down
1 change: 1 addition & 0 deletions infrastructure/nixos/modules/users.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
{
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFzeSniNbg+JvwI93ehqMNWdF1d4WWHDeY8rFHmufek0 daniel@pve"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOD2V8Db+8Z3gaND+8WL68ynAG8noIeiQvhAOKXAo4BK dnaab@flexion.us"
];
}
10 changes: 8 additions & 2 deletions test/base-path.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ describe('getBasePath', () => {
const originalEnv = process.env.BASE_PATH

afterEach(() => {
process.env.BASE_PATH = originalEnv
// Assigning undefined stores the string "undefined" (Node, Bun >= 1.4),
// which would leak a bogus base path into later test files.
if (originalEnv === undefined) delete process.env.BASE_PATH
else process.env.BASE_PATH = originalEnv
})

it('returns "/" when BASE_PATH is not set', () => {
Expand Down Expand Up @@ -43,7 +46,10 @@ describe('resolveUrl', () => {
const originalEnv = process.env.BASE_PATH

afterEach(() => {
process.env.BASE_PATH = originalEnv
// Assigning undefined stores the string "undefined" (Node, Bun >= 1.4),
// which would leak a bogus base path into later test files.
if (originalEnv === undefined) delete process.env.BASE_PATH
else process.env.BASE_PATH = originalEnv
})

it('returns path as-is when base path is "/"', () => {
Expand Down
Loading