Skip to content

Github Actions: add Google Chrome action #357

Github Actions: add Google Chrome action

Github Actions: add Google Chrome action #357

Workflow file for this run

name: "Continuous Integration"
on:
push:
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- uses: browser-actions/setup-chrome@v1
- run: chrome --version
- name: Disable AppArmor User Namespace Restrictions for Chromium developer version
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
- name: Install dependencies
run: yarn install
- name: Linting
run: yarn lint
- name: Build
run: yarn build
- name: Testing
run: yarn test
- name: Testing API_ON_SAME_PORT
run: API_ON_SAME_PORT=1 yarn test
- name: Testing REVERSE_ONLY
run: REVERSE_ONLY=1 yarn test