From 4bb33fe2449ebfae8ab932ec4711497c755f016d Mon Sep 17 00:00:00 2001 From: "Amy J. Ko" Date: Wed, 25 Oct 2023 08:43:25 -0700 Subject: [PATCH] Updated node versions. --- .github/workflows/playwright.yml | 2 +- .github/workflows/vitest.yml | 40 ++++++++++++++++---------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 8d6cbdf7a..c738b3128 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 - name: Install dependencies run: npm ci - name: Install Playwright Browsers diff --git a/.github/workflows/vitest.yml b/.github/workflows/vitest.yml index 87fc5ce58..b961795f5 100644 --- a/.github/workflows/vitest.yml +++ b/.github/workflows/vitest.yml @@ -4,27 +4,27 @@ name: Run all tests on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + push: + branches: ['main'] + pull_request: + branches: ['main'] jobs: - build: - runs-on: ubuntu-latest + build: + runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x] + strategy: + matrix: + node-version: [20.x] - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm ci - name: Install dependencies - - run: npm test - name: Run vitest + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + name: Install dependencies + - run: npm test + name: Run vitest