From 21ebeacd206763216bce3e471ffd2c83e3188cc5 Mon Sep 17 00:00:00 2001 From: Aaron Klinker Date: Sun, 15 Oct 2023 14:51:36 -0500 Subject: [PATCH] chore(deps): Revert node 20 upgrade due to OOM errors in CI --- .github/workflows/release.yml | 2 +- .github/workflows/validate.yml | 36 ++++++++++++++++++++++++++-------- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 34fc73be..52865dcb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: - name: Setup NodeJS uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 18 cache: 'pnpm' - name: Install dependencies diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 9840eb1c..c42c5c8a 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -7,13 +7,9 @@ on: - main jobs: - wxt: + checks: name: WXT - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, windows-latest] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v3 @@ -26,7 +22,7 @@ jobs: - name: Setup NodeJS uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 18 cache: 'pnpm' - name: Install dependencies @@ -56,6 +52,30 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + windows-tests: + name: WXT + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup PNPM + uses: pnpm/action-setup@v2 + with: + version: 8 + + - name: Setup NodeJS + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install + + - name: Tests + run: pnpm test:coverage --reporter=default --reporter=hanging-process + project-templates: name: Project Templates runs-on: ubuntu-22.04 @@ -71,7 +91,7 @@ jobs: - name: Setup NodeJS uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 18 cache: 'pnpm' - name: Install dependencies