cleaned up old role file #748
Workflow file for this run
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: E2E testing | |
| on: [push] | |
| jobs: | |
| build: | |
| name: Lint, Build and test | |
| timeout-minutes: 15 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Build | |
| run: yarn build | |
| - name: Install Playwright browsers | |
| run: yarn playwright install --with-deps | |
| - name: Dockerize | |
| run: yarn dockerize | |
| - name: Start from Docker conatiner | |
| run: docker run -d --name pi-rat -p 9090:9090 furystack/pi-rat | |
| - run: yarn test:e2e:install | |
| name: 'Test Installer' | |
| - run: yarn test:e2e --workers=1 | |
| name: 'E2E tests' | |
| env: | |
| E2E_TEMP: /home/node/app/tmp | |
| - run: docker logs pi-rat | |
| if: always() | |
| name: Dump Docker logs | |
| - uses: actions/upload-artifact@v4 | |
| name: Upload Yarn error logs | |
| if: failure() | |
| with: | |
| path: yarn-error.log | |
| name: yarn-error.log | |
| - uses: actions/upload-artifact@v4 | |
| name: Upload Playwright traces | |
| if: failure() | |
| with: | |
| path: test-results | |
| name: test-results |