diff --git a/.github/workflows/pre-release-tests.yml b/.github/workflows/pre-release-tests.yml deleted file mode 100644 index 83cc2e8a0..000000000 --- a/.github/workflows/pre-release-tests.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Pre-Release Tests - -# On pushes to master (i.e. merging a PR) -# run all tests, on win, macos, linux, on node 12 & 14 -on: - push: - branches: - - main - # Don't run if it's just markdown or doc files - paths-ignore: - - "**.md" - - "docs/**" -jobs: - build: - runs-on: ${{ matrix.os }} - - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - node: [20, 22] - - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node }} - - - name: Install Dependencies - run: npm ci --legacy-peer-deps - - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - - name: Build - run: npm run build - - - name: Lint - run: npm run lint - - - name: Test in CI - run: npm run test:ci diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 163862308..261a530d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,12 +22,12 @@ jobs: build_and_test: name: Build and Test - runs-on: ${{ matrix.os }} - strategy: matrix: os: [ubuntu-latest] - node: [24] + node: [20, 22, 24] + + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 @@ -38,6 +38,9 @@ jobs: - name: Install run: npm ci --legacy-peer-deps + - name: Install Playwright Browsers + run: npx playwright install --with-deps + - name: Build run: npm run build