mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 22:22:53 +03:00
29 lines
629 B
YAML
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
|