playwright/.github/workflows/package_create_playwright.yml
2021-10-11 16:52:17 +02:00

29 lines
629 B
YAML

name: create-playwright CI
on:
push:
branches: [ master ]
paths:
- 'packages/create-playwright/**/*'
pull_request:
branches: [ master ]
paths:
- 'packages/create-playwright/**/*'
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/create-playwright/
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 14
cache: 'npm'
- run: npm i -g npm@7
- run: npm ci
- run: npm i --no-save @playwright/test
- run: npm run build
- run: npm run test