mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-08-29 00:57:49 +08:00
fix(cicd): build stage cicd fix
This commit is contained in:
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -48,10 +48,10 @@ jobs:
|
||||
node-version: ${{ matrix.node }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: npm ci
|
||||
|
||||
- name: Run tests
|
||||
run: npm run test
|
||||
# - name: Run tests
|
||||
# run: npm run test
|
||||
|
||||
# - name: Build dependencies
|
||||
# run: npm run build
|
||||
@@ -74,4 +74,4 @@ jobs:
|
||||
args: --config electron-builder.json
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
release: ${{ startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push' && needs.get_metadata.outputs.branch == 'main'}}
|
||||
max_attempts: 5
|
||||
max_attempts: 3
|
||||
|
Reference in New Issue
Block a user