Skip to content

Commit a357d31

Browse files
committed
Added auto app release workflow
1 parent 17c54a6 commit a357d31

File tree

3 files changed

+8269
-0
lines changed

3 files changed

+8269
-0
lines changed

.github/workflows/release.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Release App
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: "22"
24+
cache: "npm"
25+
26+
- name: Install dependencies
27+
run: |
28+
npm ci
29+
working-directory: ./packages/app
30+
31+
- name: Run release script
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
run: node scripts/release.js --ignore-commits
35+
working-directory: ./packages/app

packages/app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ dist-ssr
77
yarn-error.log
88
out/
99
.ssl
10+
!package-lock.json
1011

1112
/**/**/src/cores/@*

0 commit comments

Comments
 (0)