Skip to content

Update dependencies #750

Update dependencies

Update dependencies #750

Workflow file for this run

name: Run tests
on: [push]
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['18.x']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm build:code
- run: pnpm test:ci
- uses: codecov/codecov-action@v4
test-e2e:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['18.x']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm build:code
- run: |
sudo chown root examples/basic-react/node_modules/electron/dist/chrome-sandbox \
&& sudo chmod 4755 examples/basic-react/node_modules/electron/dist/chrome-sandbox \
&& sudo chown root examples/basic-vanilla-esm/node_modules/electron/dist/chrome-sandbox \
&& sudo chmod 4755 examples/basic-vanilla-esm/node_modules/electron/dist/chrome-sandbox
- run: xvfb-run --auto-servernum -- pnpm test:e2e