Skip to content

Merge pull request #206 from Automattic/dev-release/v0.11.1-dev.0 #159

Merge pull request #206 from Automattic/dev-release/v0.11.1-dev.0

Merge pull request #206 from Automattic/dev-release/v0.11.1-dev.0 #159

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- trunk
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Setup and install
uses: Automattic/vip-actions/nodejs-setup@trunk
with:
node-version-file: .nvmrc
- name: Run linter
run: npm run lint
check-types:
name: Check types
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Setup and install
uses: Automattic/vip-actions/nodejs-setup@trunk
with:
node-version-file: .nvmrc
- name: Check types
run: npm run check-types
dependaban:
name: Dependaban
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: Automattic/vip-actions/dependaban@trunk
jest:
name: Jest tests
runs-on: ubuntu-latest
permissions:
contents: read
needs:
- lint
- check-types
strategy:
fail-fast: false
matrix:
node:
- version-file: .nvmrc
version-name: pinned
steps:
- name: Setup and install
uses: Automattic/vip-actions/nodejs-setup@trunk
with:
node-version-file: .nvmrc
- name: Run tests
run: npm test