From 227016f8f5f06a5c3def06e856ecef7b98c8091a Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Mon, 9 Sep 2024 10:00:38 -0400 Subject: [PATCH] build: Switch to ubuntu-latest for builds This code does not have any dependencies that are specific to any specific version of ubuntu. So instead of testing on a specific version and then needing to do work to keep the versions up-to-date, we switch to the ubuntu-latest target which should be sufficient for testing purposes. This work is being done as a part of https://github.com/openedx/platform-roadmap/issues/377 closes https://github.com/openedx/frontend-app-learner-dashboard/issues/420 --- .github/workflows/ci.yml | 2 +- .github/workflows/npm-publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ebe92fc..d9ad9aa7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ on: jobs: tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: node: [18, 20] diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 42941219..fc4a6280 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -7,7 +7,7 @@ on: jobs: release: name: Release - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4