Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cd84e8c

Browse files
authored
ci: various edits (#96)
1 parent 9805d78 commit cd84e8c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

‎.github/actions/ci-common-setup-locally-packaged/action.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Reusable common setup with locally packaged library code for projec
44

55
inputs:
66
node-version:
7-
description: Specific Node.js version to override the common one that's gonna be selected by default
7+
description: Optional specific Node.js version to install (default is v22.5.0)
88
required: false
99
default: v22.5.0
1010

@@ -36,7 +36,7 @@ runs:
3636
PACKAGE_FILENAME=$(ls ${{ steps.package-json-info.outputs.package_name }}-${{ steps.package-json-info.outputs.package_version }}.tgz)
3737
pnpm i packaged-react-async-iterators@file:./$PACKAGE_FILENAME
3838
39-
- name: Type-check tests code
39+
- name: Redirect code entrypoint from the source code to packaged code
4040
shell: bash
4141
run: |
4242
[[ -e ./src ]] && mv ./src ./src-ignored-for-packaged-testing

‎.github/actions/ci-common-setup/action.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ description: Reusable common setup for project's CI jobs
44

55
inputs:
66
node-version:
7-
description: Specific Node.js version to override the common one that's gonna be selected by default
7+
description: Optional specific Node.js version to install (default is v22.5.0)
88
required: false
99
default: v22.5.0
1010

1111
runs:
1212
using: composite
1313
steps:
14-
- uses: actions/setup-node@v3
14+
- uses: actions/setup-node@v4
1515
with:
1616
node-version: ${{ inputs.node-version }}
1717

1818
- name: Get Node.js version
1919
id: node_version
2020
shell: bash
21-
run: echo "version=$(node -v)" >>$GITHUB_OUTPUT
21+
run: echo "version=$(node -v)" >>$GITHUB_OUTPUT
2222

2323
- name: Get package manager type and version from `package.json`
2424
id: pkg_manager_value
@@ -33,7 +33,7 @@ runs:
3333

3434
- name: Restore possibly cached dependencies
3535
id: cache-node-modules
36-
uses: actions/cache@v3
36+
uses: actions/cache@v4
3737
with:
3838
path: ./node_modules
3939
key: node-modules-${{ runner.os }}-${{ steps.node_version.outputs.version }}-${{ hashFiles('./pnpm-lock.yaml') }}

‎.github/workflows/ci-ts-build-check.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI - ts build check
1+
name: CI - TypeScript build check
22

33
on:
44
pull_request:

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"test-typings-check": "tsc --noEmit -p ./spec/tsconfig.json",
4949
"build": "rm -rf ./dist && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsx ./scripts/set-module-type-in-dist-builds.ts",
5050
"build-check": "tsc --noEmit -p ./tsconfig.json",
51-
"prepack": "npm run build"
51+
"prepack": "pnpm run build"
5252
},
5353
"peerDependencies": {
5454
"react": ">=17"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /