chore(create-playwright): make it Node.js 12 compatible (#10081)

This commit is contained in:
Max Schmitt 2021-11-05 17:30:18 +01:00 committed by GitHub
parent c5b19351f6
commit 95a5c5cb79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 2 deletions

View File

@ -4,19 +4,25 @@ on:
branches: [ master ]
paths:
- 'packages/create-playwright/**/*'
- '.github/workflows/package_create_playwright.yml'
pull_request:
branches: [ master ]
paths:
- 'packages/create-playwright/**/*'
- '.github/workflows/package_create_playwright.yml'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: 14
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm i -g npm@7
- run: npm ci

View File

@ -0,0 +1,3 @@
{
"extends": "../tsconfig.json"
}

View File

@ -1,5 +1,6 @@
{
"compilerOptions": {
"target": "ES2019",
"moduleResolution": "Node",
"downlevelIteration": true,
"esModuleInterop": true,