1 parent
6697d2b229
commit
5af46b32f6
82 files changed
+4149
-345
No files matched your search
@@ -54,7 +54,7 @@ jobs:
|
||||
run: cd fe && yarn && yarn build
|
||||
- name: BE Build
|
||||
run: |
|
||||
cd server && cp -rf ../fe/dist http_server
|
||||
cd server && cp -rf ../fe/dist listen/http_server
|
||||
go build -ldflags "-s -w -X 'main.version=${{ env.VERSION }}' -X 'main.goVersion=$(go version)' -X 'main.gitHash=$(git show -s --format=%H)' -X 'main.buildTime=$(TZ=UTC-8 date +%Y-%m-%d" "%H:%M:%S)'" -o ${{ env.FILENAME }} main.go
|
||||
go build -ldflags "-s -w" -o ${{ env.TGFILENAME }} hooks/telegram_push/telegram_push.go
|
||||
go build -ldflags "-s -w" -o ${{ env.WCFILENAME }} hooks/wechat_push/wechat_push.go
|
||||
|
||||
@@ -39,6 +39,9 @@ jobs:
|
||||
COMMIT: ${{ github.workflow_sha }}
|
||||
EVENT: ${{ github.event_name}}
|
||||
steps:
|
||||
- name: Setup Node.js environment
|
||||
run: apt update && apt install -y nodejs npm
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@@ -50,9 +53,6 @@ jobs:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
labels: 'Auto: Test Failed'
|
||||
|
||||
- name: Setup Node.js environment
|
||||
run: apt update && apt install -y nodejs npm
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm install --global yarn
|
||||
@@ -60,15 +60,12 @@ jobs:
|
||||
- name: FE build
|
||||
run: make build_fe
|
||||
|
||||
- name: Run Test
|
||||
run: make test
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dbfile
|
||||
path: server/config/pmail_temp.db
|
||||
|
||||
|
||||
- name: Run Test Mysql
|
||||
run: make test_mysql
|
||||
|
||||
- name: Run Test
|
||||
run: make test
|
||||
|
||||
# - name: Run postgres
|
||||
# run: make test_postgres
|
||||
|
||||
Reference in new issue
Block a user