1
0
Fork 0
freesewing/.github/workflows/playwright.yml
2023-06-10 13:51:36 +02:00

32 lines
888 B
YAML

name: Playwright Tests
# While it's nice to test e2e tests, it's not all that useful to run them on alpha code
#on:
# push:
# branches:
# - develop
# pull_request:
# branches:
# - develop
#jobs:
# test:
# timeout-minutes: 60
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 16
# - name: Cache node modules
# uses: actions/cache@v3
# id: cache_node_modules
# with:
# # caching node_modules
# path: '**/node_modules'
# key: node_modules-${{ hashFiles('yarn.lock') }}
# - name: Install dependencies
# if: steps.cache_node_modules.outputs.cache-hit != 'true'
# run: yarn install
# - name: Install Playwright Browsers
# run: yarn playwright install --with-deps
# - name: Run Playwright tests
# run: yarn e2e