2021-09-13 23:05:38 +03:00
|
|
|
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
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Use Node.js
|
|
|
|
uses: actions/setup-node@v2
|
|
|
|
with:
|
|
|
|
node-version: 14
|
|
|
|
cache: 'npm'
|
2021-10-11 17:52:17 +03:00
|
|
|
- run: npm i -g npm@7
|
2021-09-13 23:05:38 +03:00
|
|
|
- run: npm ci
|
|
|
|
- run: npm run build
|
|
|
|
- run: npm run test
|
2021-10-22 11:13:05 +03:00
|
|
|
working-directory: packages/create-playwright/
|