Skip to content

Commit 626b996

Browse files
committed
fix: code review
1 parent bf924d7 commit 626b996

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/actions/setup-and-build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Setup and build
2-
description: Generic setup action for actions
2+
description: Generic setup action
33
inputs:
44
node-version:
55
required: false

.github/workflows/integration-test-cli.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Integration Tests CLI
1+
name: CLI Integration Tests
22

33
on:
44
pull_request:
@@ -8,7 +8,7 @@ jobs:
88
cli-integration-test:
99
name: CLI Integration Tests
1010
# Note: `prepare-release.yaml` sets this commit message
11-
if: ${{ contains(github.event.pull_request.title, 'release tutorialkit CLI') }}
11+
if: ${{ contains(github.event.pull_request.title, 'release tutorialkit CLI') || github.event_name == 'workflow_dispatch' }}
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout

.github/workflows/prepare-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Prepare release PR
1+
name: Prepare Release PR
22

33
on:
44
workflow_dispatch:

.github/workflows/publish-release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish release
1+
name: Publish Release
22

33
on:
44
push:
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: ./.github/actions/setup-and-build
2424

25-
# Sets steps.resolve-release-version.outputs.version
25+
# sets steps.resolve-release-version.outputs.version
2626
- uses: ./.github/actions/resolve-release-version
2727
id: resolve-release-version
2828

@@ -53,7 +53,7 @@ jobs:
5353

5454
- uses: ./.github/actions/setup-and-build
5555

56-
# Sets steps.resolve-release-version.outputs.version
56+
# sets steps.resolve-release-version.outputs.version
5757
- uses: ./.github/actions/resolve-release-version
5858
id: resolve-release-version
5959

packages/cli/scripts/update-template.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ await temporaryDirectoryTask(async (tmp) => {
7373
fs.cpSync(path.join(tmp, 'pnpm-lock.yaml'), path.join(templateDest, 'pnpm-lock.yaml'));
7474
fs.cpSync(path.join(tmp, 'yarn.lock'), path.join(templateDest, 'yarn.lock'));
7575

76-
console.log('Created', path.join(templateDest, 'package-lock.json'));
77-
console.log('Created', path.join(templateDest, 'pnpm-lock.yaml'));
78-
console.log('Created', path.join(templateDest, 'yarn.lock'));
76+
success(`Created ${path.join(templateDest, 'package-lock.json')}`);
77+
success(`Created ${path.join(templateDest, 'pnpm-lock.yaml')}`);
78+
success(`Created ${path.join(templateDest, 'yarn.lock')}`);
7979
});
8080

8181
success('Lockfiles generated');

0 commit comments

Comments
 (0)