Skip to content

chore: update release workflow #98

chore: update release workflow

chore: update release workflow #98

Workflow file for this run

name: ⚙️ Check
on:
push:
branches:
- main
- next
pull_request:
branches:
- main
- next
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
vitest:
name: 🧪 Vitest
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
run_install: false
- name: Install dependencies
run: pnpm install
- name: Vitest - Library
run: pnpm test
lint:
name: 🔎 Eslint
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
run_install: false
- name: Install dependencies
run: pnpm install
- name: Eslint
run: pnpm lint
build:
name: 🛫 Build Website & Library
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
run_install: false
- name: Install dependencies
run: pnpm install
- name: Build library & website
run: pnpm build