mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2026-11-27 23:13:43 +00:00
ci: build
This commit is contained in:
6 files changed
+186
-104
No files matched your search
@@ -1,4 +1,6 @@
|
||||
name: build
|
||||
permissions:
|
||||
contents: write
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
@@ -6,11 +8,6 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- "backend/package.json"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- "backend/package.json"
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -82,7 +79,7 @@ jobs:
|
||||
pnpm i -D conventional-changelog-cli
|
||||
pnpm run changelog
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@v3
|
||||
if: ${{ success() }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in new issue
Block a user