try all. known that linux runs but fails due to electron upgrade #2
Workflow file for this run
This file contains 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-tests-windows | |
on: | |
push: | |
branches: | |
- tests/webdriver-app-open | |
pull_request: | |
jobs: | |
e2e-build-n-test: | |
environment: staging | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 💚 Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: 🧱 Install Dependencies | |
run: | | |
npm install | |
- name: 📦 Bundle Application | |
env: | |
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | |
MP_PROJECT_TOKEN: ${{ secrets.MP_PROJECT_TOKEN }} | |
MP_PROJECT_ENV: ${{ vars.MP_PROJECT_ENV }} | |
NICENODE_ENV: ${{ vars.NICENODE_ENV }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
# run: npm run package | |
# if [ "$RUNNER_OS" == "macOS" ]; then | |
# npm run package -- --mac --x64 | |
# elif [ "$RUNNER_OS" == "Windows" ]; then | |
# npm run package -- --win --x64 | |
run: npm run package | |
- name: 🧪 Run Tests | |
uses: coactions/setup-xvfb@v1 | |
with: | |
run: npm run wdio | |
- name: 🐛 Debug Build | |
uses: stateful/vscode-server-action@v1 | |
if: failure() | |
with: | |
timeout: '120000' |