Skip to content

Bump prism-react-renderer from 2.4.0 to 2.4.1 (#199) #289

Bump prism-react-renderer from 2.4.0 to 2.4.1 (#199)

Bump prism-react-renderer from 2.4.0 to 2.4.1 (#199) #289

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
# Cancel in-progress workflows on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
jobs:
lint:
name: Typecheck
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
# Pulls version from packageManager key in package.json
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Typecheck
run: pnpm typecheck
format:
name: Check prettier
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
# Pulls version from packageManager key in package.json
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Check formatting
run: pnpm format:check
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
# Pulls version from packageManager key in package.json
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Test
run: pnpm test