Skip to content

Commit 1d09b76

Browse files
chore: run with --version in CI (#1804)
## PR Checklist - [x] Addresses an existing open issue: fixes #1353 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview 💖
1 parent 442cb3b commit 1d09b76

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: ./.github/actions/prepare
1616
- run: pnpm build
17-
- run: node ./lib/index.js
17+
- run: node ./lib/index.js --version
1818
lint:
1919
name: Lint
2020
runs-on: ubuntu-latest

script/__snapshots__/migrate-test-e2e.ts.snap

+9
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ exports[`expected file changes > .github/workflows/ci.yml 1`] = `
2929
build:
3030
name: Build
3131
runs-on: ubuntu-latest
32+
@@ ... @@ jobs:
33+
- uses: actions/checkout@v4
34+
- uses: ./.github/actions/prepare
35+
- run: pnpm build
36+
- - run: node ./lib/index.js --version
37+
+ - run: node ./lib/index.js
38+
lint:
39+
name: Lint
40+
runs-on: ubuntu-latest
3241
@@ ... @@ jobs:
3342
- uses: actions/checkout@v4
3443
- uses: ./.github/actions/prepare

0 commit comments

Comments
 (0)