chore: bump version to v0.2.0
#9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π Check code | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- '*' | |
- '!draft/*' | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
build: | |
name: ποΈ Build project | |
runs-on: ubuntu-latest | |
steps: | |
- name: π₯ Checkout code | |
uses: actions/checkout@v4 | |
- name: π¦ Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: π οΈ Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'latest' | |
cache: 'pnpm' | |
- name: β‘ Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: π¨ Build library | |
run: pnpm build:lib | |
lint: | |
name: π Lint code | |
runs-on: ubuntu-latest | |
steps: | |
- name: π₯ Checkout code | |
uses: actions/checkout@v4 | |
- name: π¦ Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: π οΈ Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'latest' | |
cache: 'pnpm' | |
- name: β‘ Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: π Run linter | |
run: pnpm lint |