Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
chore: use semantic-release instead of lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominique Wirz committed Feb 19, 2024
1 parent f2cbb16 commit d83a17b
Show file tree
Hide file tree
Showing 8 changed files with 2,712 additions and 6,391 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,35 @@
name: Release
name: Release npm package @smartive/stencil-react-ssr-output-target

on:
pull_request:
types: [closed]
push:
branches:
- main
- next

concurrency:
group: release-${{ github.ref }}
cancel-in-progress: true

jobs:
publish:
if: github.event.pull_request.merged == true
release:
name: Release
runs-on: ubuntu-latest
strategy:
fail-fast: true
name: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: npm ci
- run: npm run build:stencil-react-ssr-output-target
- name: Release
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
dry_run: true
working_directory: ./packages/stencil-react-ssr-output-target
extra_plugins: |
@semantic-release/changelog@6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
git config --global user.name "smartive CI"
git config --global user.email "[email protected]"
npx lerna version --conventional-commits --conventional-graduate --yes
npx lerna publish from-git --yes
Loading

0 comments on commit d83a17b

Please sign in to comment.