name: Run CI Tests on: push: branches: - '*' - '!master' jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '21.x' - name: Install Chrome run: | apt-get update -qq apt-get install -y -qq wget gnupg > /dev/null 2>&1 wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - > /dev/null 2>&1 echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list apt-get update -qq apt-get install -y -qq google-chrome-stable > /dev/null 2>&1 echo "CHROME_BIN=$(which google-chrome-stable)" >> $GITHUB_ENV - run: npm install - run: npm run test:headless:singleRun