Skip to content

chore: bump to v1.0.9 #20

chore: bump to v1.0.9

chore: bump to v1.0.9 #20

Workflow file for this run

name: CI
on:
push:
branches: ['*']
tags: ['v*']
pull_request:
branches: ['*']
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.20.0
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run type check
run: pnpm run typecheck
- name: Run tests
run: pnpm test
- name: Build
run: pnpm run build
- name: Check formatting
run: pnpm run test_prettier
- name: Publish to NPM
if: startsWith(github.ref, 'refs/tags/v')
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}