Skip to content

feat: Merge @swc/jest into the monorepo #2

feat: Merge @swc/jest into the monorepo

feat: Merge @swc/jest into the monorepo #2

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
merge_group:
env:
CI: 1
jobs:
test:
name: Test
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
node-version: ${{ matrix.node-version }}
- name: Test
run: pnpm test
ci-done:
name: Ok
needs:
- test
if: always()
runs-on: ubuntu-latest
steps:
- run: exit 1
if: ${{ always() && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled')) }}