diff --git a/.github/workflows/pa11y.yml b/.github/workflows/pa11y.yml index 2170bee1..96bb2165 100644 --- a/.github/workflows/pa11y.yml +++ b/.github/workflows/pa11y.yml @@ -38,7 +38,7 @@ jobs: node-version: "18" - name: Install dependencies - run: npm install --production=false && pip install -r requirements.txt + run: npm ci --production=false && pip install --require-hashes -r requirements.txt - name: Setup custom variables id: customvars diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33c5c898..df72bd5f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: node-version: "${{ steps.nvm.outputs.NVMRC }}" - name: Install NPM dependencies - run: npm install + run: npm ci - name: Build site run: npm run build diff --git a/_tests/renderInfoSessions.js b/_tests/renderInfoSessions.js index 6dfed665..de4d8b4f 100644 --- a/_tests/renderInfoSessions.js +++ b/_tests/renderInfoSessions.js @@ -15,12 +15,12 @@ describe("renderInfoSessions", () => { it("renders valid upcoming info sessions into the link item", () => { const mockInfoSessions = [ { - date: "2024-12-15T00:00:00Z", + date: "2034-12-15T00:00:00Z", time: "2:00pm-3:00pm", link: "https://example.com/session1", }, { - date: "2024-12-20T00:00:00Z", + date: "2034-12-20T00:00:00Z", time: "1:00pm-2:00pm", link: "https://example.com/session2", }, @@ -31,7 +31,7 @@ describe("renderInfoSessions", () => { expect(listItems.length).toBe(2); expect(listItems[0].querySelector("a").href).toBe(mockInfoSessions[0].link); - expect(listItems[0].querySelector("a").innerText).toContain("Sunday"); + expect(listItems[0].querySelector("a").innerText).toContain("Friday"); expect(listItems[1].querySelector("a").href).toBe(mockInfoSessions[1].link); }); @@ -78,7 +78,7 @@ describe("renderInfoSessions", () => { link: "https://example.com/past-session", }, { - date: "2024-12-15T00:00:00Z", + date: "2034-12-15T00:00:00Z", time: "2:00pm-3:00pm", link: "https://example.com/future-session", }, @@ -96,7 +96,7 @@ describe("renderInfoSessions", () => { it("renders a styled wrapper with correct classes for /join/ page layout", () => { const mockInfoSessions = [ { - date: "2024-12-15T00:00:00Z", + date: "2034-12-15T00:00:00Z", time: "2:00pm-3:00pm", link: "https://example.com/session1", }, @@ -114,7 +114,7 @@ describe("renderInfoSessions", () => { it("renders a styled wrapper with correct classes for position layout", () => { const mockInfoSessions = [ { - date: "2024-12-15T00:00:00Z", + date: "2034-12-15T00:00:00Z", time: "2:00pm-3:00pm", link: "https://example.com/session1", }, diff --git a/pages/jointts/positions/TTS-Sr-Advisor-Technology.md b/pages/jointts/positions/TTS-Sr-Advisor-Technology.md index 0472466d..2193abcd 100644 --- a/pages/jointts/positions/TTS-Sr-Advisor-Technology.md +++ b/pages/jointts/positions/TTS-Sr-Advisor-Technology.md @@ -38,8 +38,8 @@ title: "TTS: Senior Advisor for Technology" # Put the opening and closing dates of your posting here, if you have them # These dates MUST be formatted as YYYY-MM-DD, where month and day are 2-digits -opens: -closes: +opens: 2024-12-16 +closes: 2024-12-20 # If the role is listed on a different site and you just want to link to it, # put that link here. You can leave the rest of the template as-is, unless you @@ -167,5 +167,5 @@ specialized_requirements: | # This can be filled prior to the job posting going live or left blank # # The application button will only show after the open date # -application_link: +application_link: https://www.usajobs.gov/job/824096100 ---