Skip to content

Commit

Permalink
chore: run with --version in CI (#1804)
Browse files Browse the repository at this point in the history
## 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

💖
  • Loading branch information
JoshuaKGoldberg authored Dec 24, 2024
1 parent 442cb3b commit 1d09b76
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm build
- run: node ./lib/index.js
- run: node ./lib/index.js --version
lint:
name: Lint
runs-on: ubuntu-latest
Expand Down
9 changes: 9 additions & 0 deletions script/__snapshots__/migrate-test-e2e.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ exports[`expected file changes > .github/workflows/ci.yml 1`] = `
build:
name: Build
runs-on: ubuntu-latest
@@ ... @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm build
- - run: node ./lib/index.js --version
+ - run: node ./lib/index.js
lint:
name: Lint
runs-on: ubuntu-latest
@@ ... @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
Expand Down

0 comments on commit 1d09b76

Please sign in to comment.