Skip to content

test: add playwright tests #5

test: add playwright tests

test: add playwright tests #5

Workflow file for this run

name: Playwright tests
on: [push]
jobs:
main:
runs-on: ubuntu-latest
env:
APP_NAME: wallet
APPLITOOLS_KEY: ${{ secrets.APPLITOOLS_KEY }}
TOKEN_SALES_URL_MAINNET: ${{ secrets.TOKEN_SALES_URL_MAINNET }}
TOKEN_SALES_URL_TESTNET: ${{ secrets.TOKEN_SALES_URL_TESTNET }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 100
- uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install app dependencies
run: npm ci
- name: Install playwright
run: npx playwright install
- name: Run parallel tests
run: npm run test:playwright:parallel