fix(sdk): skip error comics blocked #10
Workflow file for this run
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: 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}} |