mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Archive build artifacts before running spectron test
This commit is contained in:
parent
b04225b3a3
commit
64a2f90957
1 changed files with 9 additions and 9 deletions
18
.github/workflows/nodejs.yml
vendored
18
.github/workflows/nodejs.yml
vendored
|
|
@ -47,15 +47,6 @@ jobs:
|
|||
CSC_KEY_PASSWORD: ${{ secrets.MAC_CERT_P12_PASSWORD }}
|
||||
WIN_CSC_LINK: ${{ secrets.WIN_CERT_P12_BASE64 }}
|
||||
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CERT_P12_PASSWORD }}
|
||||
- name: Test Spectron
|
||||
if: runner.os != 'Linux'
|
||||
run: yarn run test:spectron
|
||||
- name: Archive Spectron test screenshot
|
||||
if: runner.os != 'Linux'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: spectron
|
||||
path: dist/tmp/*.png
|
||||
- name: Archive Build Artifacts
|
||||
uses: LabhanshAgrawal/upload-artifact@v3
|
||||
with:
|
||||
|
|
@ -66,6 +57,15 @@ jobs:
|
|||
dist/*.deb
|
||||
dist/*.rpm
|
||||
dist/*.exe
|
||||
- name: Test Spectron
|
||||
if: runner.os != 'Linux'
|
||||
run: yarn run test:spectron
|
||||
- name: Archive Spectron test screenshot
|
||||
if: runner.os != 'Linux'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: spectron
|
||||
path: dist/tmp/*.png
|
||||
- name: Save the pr number in an artifact
|
||||
if: github.event_name == 'pull_request'
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in a new issue