From c2a1346ac9cd1d088203e81e9947a3c2a73024ea Mon Sep 17 00:00:00 2001 From: Maxime Robert Date: Wed, 31 Jan 2024 18:22:57 +0100 Subject: [PATCH] fix(CI): upgrade to ubuntu 20.10 --- .github/workflows/main.yml | 11 +++++------ .nvmrc | 1 + 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aa67d33..13ba570 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,18 +7,17 @@ on: [push] jobs: build: - # Machine environment: # https://help.github.com/en/articles/software-in-virtual-environments-for-github-actions#ubuntu-1804-lts # We specify the Node.js version manually below, and use versioned Chrome from Puppeteer. - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: Use Node.js 16 - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - name: Use Node.js 20.9.0 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20.9.0 - name: Install dependencies run: yarn --frozen-lockfile --non-interactive --no-progress - name: Lint Demo diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..805b5a4 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v20.9.0