Nightly E2E Web Pro macOS S3 #70
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 Web Pro macOS S3 | |
| on: | |
| schedule: | |
| - cron: '0 3 * * *' | |
| workflow_dispatch: | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| e2eTestsWebMac: | |
| name: Test TagSpaces Pro Web on Mac | |
| runs-on: macos-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-web-pro | |
| npm run prettier-check | |
| npm run type-check | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.TSPNPMINSTALL }} | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| - name: Run Unit tests | |
| run: npm run test-unit | |
| - name: Cache S3Proxy JAR | |
| id: cache-s3proxy | |
| uses: actions/cache@v4 | |
| with: | |
| path: tests/s3proxy.jar | |
| key: s3proxy-3.0.0 | |
| - name: Download S3Proxy | |
| if: steps.cache-s3proxy.outputs.cache-hit != 'true' | |
| run: curl -sL -o tests/s3proxy.jar "https://repo1.maven.org/maven2/org/gaul/s3proxy/3.0.0/s3proxy-3.0.0-jar-with-dependencies.jar" | |
| - name: Run E2E tests | |
| run: | | |
| npm run build-e2e-web | |
| npm run test-playwright-web-headless | |
| - uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: test-artifacts | |
| path: | | |
| tests/test-reports/ | |
| test-results/ | |
| playwright-report/ |