diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 2e68fe0..5d539e7 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,8 +4,6 @@ DOP-NNNN ### Notes - - ### README updates - - [ ] This PR introduces changes that should be reflected in the README, and I have made those updates. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e8a7d5..a5a4253 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ on: jobs: lint-and-test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 diff --git a/src/services/pool.ts b/src/services/pool.ts index 81b4a51..a2ef3f9 100644 --- a/src/services/pool.ts +++ b/src/services/pool.ts @@ -18,6 +18,8 @@ interface BranchEntry { urlAliases: string[]; isStableBranch: boolean; versionSelectorLabel: string; + urlSlug: string; + offlineUrl?: string; [key: string]: any; } @@ -140,6 +142,7 @@ const mapBranches = (branches: BranchEntry[], fullBaseUrl: string) => { fullUrl: getBranchFullUrl(branchEntry, fullBaseUrl, branches.length > 1), label: branchEntry.versionSelectorLabel, isStableBranch: !!branchEntry.isStableBranch, + offlineUrl: branchEntry.offlineUrl, })); };