Skip to content

chore: fix lint

chore: fix lint #85

Workflow file for this run

name: Publish Commit
on:
push:
branches:
- '**'
tags:
- '!**'
pull_request:
env:
NODE_VER: 22.5
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Use Node.js ${{ env.NODE_VER }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VER }}
cache: 'pnpm'
- name: Install deps
run: pnpm i
- name: Build and pack
run: pnpm prepack
- name: Publish package preview
run: pnpx pkg-pr-new publish --compact