Skip to content

Add unused imports autofixer #96

Add unused imports autofixer

Add unused imports autofixer #96

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