Skip to content

test: Notify Plex on PRs #1803

test: Notify Plex on PRs

test: Notify Plex on PRs #1803

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [18.x, 20.x]
steps:
- uses: actions/[email protected]
with:
filter: tree:0
- uses: pnpm/[email protected]
with:
version: 8
- name: Use Node.js ${{ matrix.node }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: node -v
- run: pnpm install --frozen-lockfile
- run: pnpm test:build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
filter: tree:0
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/[email protected]
with:
node-version-file: 'package.json'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm lint && pnpm pretty:ci
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
filter: tree:0
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/[email protected]
with:
node-version-file: 'package.json'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm test
types:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
filter: tree:0
- uses: pnpm/[email protected]
with:
version: 8
- uses: actions/[email protected]
with:
node-version-file: 'package.json'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm test:types