diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 6d36d093..5256fbc4 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -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: