Skip to content

fix(sdk): skip error comics blocked #10

fix(sdk): skip error comics blocked

fix(sdk): skip error comics blocked #10

Workflow file for this run

name: publish
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: write # Allows this job to create releases
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
cache: 'pnpm'
- name: Install deps and build
run: |
pnpm install
pnpm build
- name: Publish to npmjs.com
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Release to github
run: pnpm dlx changelogithub --draft # or [email protected] if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}