Version Packages (#27) #36
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Use Node.js 22 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run build | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: '0.4.27' | |
- name: Release Test | |
run: uv run --frozen release.py | |
- name: Upload APKGs | |
uses: actions/[email protected] | |
with: | |
name: APKGs | |
path: release/ | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Use Node.js 22 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm run lint | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: '0.4.27' | |
- run: uv run ruff check |