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