Nightly E2E Electron Pro Windows #51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Nightly E2E Electron Pro Windows | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| e2eTestsElectronWin: | |
| name: Test TagSpaces Pro on Windows | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checking out default branch | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: develop | |
| submodules: true | |
| - name: Checkout TestData | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: tagspaces/testdata | |
| path: tests/testdata | |
| - name: Configure NPM for TagSpaces Pro | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| always-auth: true | |
| registry-url: https://npm.pkg.github.com/ | |
| scope: '@tagspacespro' | |
| - name: Running npm install, prettier and type checks | |
| run: | | |
| npm install | |
| npm run prepare-node | |
| npm run prettier-check | |
| npm run type-check | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.TSPNPMINSTALL }} | |
| - name: Run Unit tests | |
| run: npm run test-unit | |
| - name: Run Electron tests | |
| run: | | |
| npm run build-e2e | |
| npm run test-playwright-pro | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: test-artifacts-electron-win | |
| if-no-files-found: ignore | |
| path: | | |
| tests/test-reports/ | |
| test-results/ | |
| playwright-report/ |