Added some parts that have not yet been internationalized #201
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: 'Test Selenium IDE' | |
on: | |
pull_request: | |
branches: | |
- trunk | |
jobs: | |
test: | |
permissions: | |
actions: read | |
checks: read | |
contents: write | |
deployments: read | |
issues: read | |
discussions: read | |
packages: read | |
pages: read | |
pull-requests: read | |
repository-projects: read | |
security-events: read | |
statuses: read | |
runs-on: ubuntu-latest | |
if: github.repository == 'seleniumhq/selenium-ide' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8.11.0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm -r i | |
- name: Build side-runner and selenium-ide | |
run: npm run build | |
- name: Install xvfb | |
run: sudo apt-get update -y && sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb | |
- name: Run all tests and also use xvfb | |
run: | | |
Xvfb -ac :99 -screen 0 1280x1024x16 > /dev/null 2>&1 & | |
export DISPLAY=:99 | |
npm run test:ci | |