Skip to content

chore(deps): update jest monorepo #172

chore(deps): update jest monorepo

chore(deps): update jest monorepo #172

Workflow file for this run

name: CI
'on':
push: null
pull_request: null
jobs:
commit-check:
name: Check Conventional Commit
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check Conventional Commit
uses: webiny/[email protected]
markdown-link-check:
name: Check Markdown Links
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check markdown links
uses: gaurav-nelson/github-action-markdown-link-check@v1
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: ./.github/actions/ci-node-setup
with:
node-version-file: .nvmrc
- name: Build
run: npm run build
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: build
path: lib
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: ./.github/actions/ci-node-setup
with:
node-version-file: .nvmrc
- name: Lint
run: npm run lint
- name: Format
run: npm run format
test:
name: Test (Node ${{ matrix.version }})
runs-on: ubuntu-latest
strategy:
matrix:
version:
- 18
- lts/*
- latest
include:
- version: 18
name: 18
- version: lts/*
name: lts
- version: latest
name: latest
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node (${{ matrix.version }})
uses: ./.github/actions/ci-node-setup
with:
node-version: ${{ matrix.version }}
- name: Test (With Coverage)
run: npm run test:coverage
- name: Upload test artifacts
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test-results-${{ matrix.name }}
path: test/junit.xml
- name: Upload coverage artifacts
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test-coverage-${{ matrix.name }}
path: coverage/cobertura-coverage.xml