Skip to content

fix: correct installation command #21

fix: correct installation command

fix: correct installation command #21

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 11.5.2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 24
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Tests
run: pnpm test
- name: Release
if: github.ref == 'refs/heads/main'
run: pnpm publish
env:
GITHUB_TOKEN: ${{ secrets.GH_ADMIN_TOKEN }}