Skip to content

Commit

Permalink
split ubu and mac
Browse files Browse the repository at this point in the history
  • Loading branch information
jgresham committed Dec 11, 2023
1 parent 3785155 commit 727d121
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
if [ "$RUNNER_OS" == "macOS" ]; then
npm i dmg-license
else
exit 0
sudo apt-get install --no-install-recommends -y rpm libarchive-tools
fi
shell: bash

Expand All @@ -47,7 +47,7 @@ jobs:
# npm run package -- --win --x64
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
npm run package -- --linux dir
npm run package
else
npm run package
fi
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/e2e-test-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: e2e-tests

on:
push:
branches:
- tests/webdriver-app-open
pull_request:

jobs:
e2e-build-n-test:
environment: staging
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-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
sudo apt-get install --no-install-recommends -y rpm libarchive-tools
- 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

- 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'
6 changes: 3 additions & 3 deletions .github/workflows/e2e-test-windows.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: e2e-tests-windows

on:
push:
branches:
- tests/webdriver-app-open
# push:
# branches:
# - tests/webdriver-app-open
pull_request:

jobs:
Expand Down

0 comments on commit 727d121

Please sign in to comment.