Skip to content

Commit 7c81909

Browse files
authored
devops: test on Node.js 18 (#19)
1 parent cace45b commit 7c81909

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
node-version: [12.x, 14.x, 16.x]
13+
node-version: [14.x, 16.x, 18.x]
1414
os: [ubuntu-latest, windows-latest, macos-latest]
1515
steps:
1616
- uses: actions/checkout@v2
@@ -20,6 +20,7 @@ jobs:
2020
node-version: ${{ matrix.node-version }}
2121
cache: 'npm'
2222
- run: npm i -g npm@8
23+
- run: npm i -g yarn@1
2324
- run: npm ci
2425
- run: npx playwright install-deps
2526
- run: npm run build

tests/integration.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ for (const packageManager of ['npm', 'yarn'] as ('npm' | 'yarn')[]) {
2222
test.use({ packageManager });
2323

2424
test('should generate a project in the current directory', async ({ run }) => {
25+
test.slow();
2526
const { exitCode, dir, stdout } = await run([], { installGitHubActions: true, testDir: 'tests', language: 'TypeScript', installPlaywrightDependencies: false });
2627
expect(exitCode).toBe(0);
2728
expect(fs.existsSync(path.join(dir, 'tests/example.spec.ts'))).toBeTruthy();

0 commit comments

Comments
 (0)