|
17 | 17 | runs-on: ubuntu-latest
|
18 | 18 | strategy:
|
19 | 19 | matrix:
|
20 | | - node: ['12', '14', '16'] |
| 20 | + node: ['14', '16', '18'] |
21 | 21 | # TODO: technically we still support down to 1.12 but `locator.waitFor`
|
22 | 22 | # was introduced in 1.16 so anything earlier blows up type-checking.
|
23 | 23 | # This minimum will be bumped in the next breaking release that will be
|
|
68 | 68 | npm why @playwright/test
|
69 | 69 | npm run test:legacy
|
70 | 70 |
|
71 | | - # Only release on Node 14 |
| 71 | + # Only release on Node 16 |
72 | 72 |
|
73 | 73 | - name: Upload Coverage / Release / Playwright
|
74 | 74 | run: npm run ci-after-success
|
@@ -99,13 +99,13 @@ jobs:
|
99 | 99 | run: echo ::set-output name=branch::${GITHUB_REF#refs/*/}
|
100 | 100 |
|
101 | 101 | - name: Release / Playwright Test (latest)
|
102 | | - if: ${{ matrix.node == '14' && matrix.playwright == 'latest' && steps.did-release.outputs.released == 'true' && steps.branch.outputs.branch == 'main' }} |
| 102 | + if: ${{ matrix.node == '16' && matrix.playwright == 'latest' && steps.did-release.outputs.released == 'true' && steps.branch.outputs.branch == 'main' }} |
103 | 103 | run: |
|
104 | 104 | npm run prepare:playwright-test
|
105 | 105 | npm publish --access=public
|
106 | 106 |
|
107 | 107 | - name: Release / Playwright Test (pre-release)
|
108 | | - if: ${{ matrix.node == '14' && matrix.playwright == 'latest' && steps.did-release.outputs.released == 'true' && steps.branch.outputs.branch != 'main' }} |
| 108 | + if: ${{ matrix.node == '16' && matrix.playwright == 'latest' && steps.did-release.outputs.released == 'true' && steps.branch.outputs.branch != 'main' }} |
109 | 109 | run: |
|
110 | 110 | npm run prepare:playwright-test
|
111 | 111 | npm publish --access=public --tag=${{ steps.branch.outputs.branch }}
|
0 commit comments