Skip to content

Merge pull request #151 from perxhealth/dependabot/npm_and_yarn/verce… #519

Merge pull request #151 from perxhealth/dependabot/npm_and_yarn/verce…

Merge pull request #151 from perxhealth/dependabot/npm_and_yarn/verce… #519

Workflow file for this run

name: Preflight
on:
pull_request:
push:
branches:
- '**'
jobs:
vitest:
name: ⚡️ Vitest
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node setup
uses: actions/setup-node@v4
with:
node-version: 20.9.0
- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
with:
version: 8.15.1
run_install: false
- name: Download deps
run: pnpm install
- name: Lint
run: pnpm test
lint:
name: ⬣ ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node setup
uses: actions/setup-node@v4
with:
node-version: 20.9.0
- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
with:
version: 8.15.1
run_install: false
- name: Download deps
run: pnpm install
- name: Lint
run: pnpm lint
typecheck:
name: ʦ TypeScript
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
with:
version: 8.15.1
run_install: false
- name: Node setup
uses: actions/setup-node@v4
with:
node-version: 20.9.0
- name: Download deps
run: pnpm install
- name: Compile
run: pnpm tsc
package:
name: 📦 Package
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4.0.0
with:
version: 8.15.1
run_install: false
- name: Node setup
uses: actions/setup-node@v4
with:
node-version: 20.9.0
- name: Download deps
run: pnpm install
- name: Package release
run: pnpm package