Skip to content

Commit

Permalink
ci: update release config
Browse files Browse the repository at this point in the history
  • Loading branch information
wood3n committed Mar 13, 2024
1 parent e6d9ba8 commit 66ffd60
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish and Release
name: Release
on:
push:
branches:
Expand Down Expand Up @@ -31,17 +31,8 @@ jobs:
run: pnpm install
- name: Build packages
run: pnpm build

# publish and release
publish:
needs: build
runs-on: ubuntu-latest
steps:
- run: pnpm publish --filter ./packages/*
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm --filter ./packages/* --workspace-concurrency=1 exec -- npx --no-install semantic-release -e semantic-release-monorepo
run: pnpm -r --workspace-concurrency=1 exec -- npx --no-install semantic-release -e semantic-release-monorepo

0 comments on commit 66ffd60

Please sign in to comment.