Skip to content

we can recieve email at [email protected]

we can recieve email at [email protected] #179

Workflow file for this run

name: Automated Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.17'
- name: Setup Selenium Server
run: docker pull selenium/standalone-chrome:latest
- name: Start Selenium Server with access to host's localhost
run: docker run -d -p 4444:4444 --network="host" --shm-size=2g selenium/standalone-chrome:latest
- name: Install dependencies
run: npm ci
- name: Run tests with chrome
run: |
SELENIUM_REMOTE_URL="http://localhost:4444/wd/hub" SELENIUM_BROWSER=chrome npm test
env:
TOKEN: ${{ secrets.TOKEN }}
FIREBASE_SERVICE_ACCOUNT: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
MERCHANTID: ${{ secrets.MERCHANTID }}
MERCHANTPUBLIC: ${{ secrets.MERCHANTPUBLIC }}
MERCHANTPRIVATE: ${{ secrets.MERCHANTPRIVATE }}