Skip to content

Commit

Permalink
ci: refactor publish workflow (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
liaoliaots authored Sep 21, 2024
1 parent c783bbe commit 54a9ae3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 22 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
architecture: x64
registry-url: 'https://registry.npmjs.org'
- run: pnpm install --frozen-lockfile
- run: pnpm -r lint
- run: pnpm -r build
# - run: pnpm -r publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22 changes: 0 additions & 22 deletions .github/workflows/release.yaml

This file was deleted.

0 comments on commit 54a9ae3

Please sign in to comment.