File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
ci-common-setup-locally-packaged Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: Reusable common setup with locally packaged library code for projec
4
4
5
5
inputs :
6
6
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)
8
8
required : false
9
9
default : v22.5.0
10
10
36
36
PACKAGE_FILENAME=$(ls ${{ steps.package-json-info.outputs.package_name }}-${{ steps.package-json-info.outputs.package_version }}.tgz)
37
37
pnpm i packaged-react-async-iterators@file:./$PACKAGE_FILENAME
38
38
39
- - name : Type-check tests code
39
+ - name : Redirect code entrypoint from the source code to packaged code
40
40
shell : bash
41
41
run : |
42
42
[[ -e ./src ]] && mv ./src ./src-ignored-for-packaged-testing
Original file line number Diff line number Diff line change @@ -4,21 +4,21 @@ description: Reusable common setup for project's CI jobs
4
4
5
5
inputs :
6
6
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)
8
8
required : false
9
9
default : v22.5.0
10
10
11
11
runs :
12
12
using : composite
13
13
steps :
14
- - uses : actions/setup-node@v3
14
+ - uses : actions/setup-node@v4
15
15
with :
16
16
node-version : ${{ inputs.node-version }}
17
17
18
18
- name : Get Node.js version
19
19
id : node_version
20
20
shell : bash
21
- run : echo "version=$(node -v)" >>$GITHUB_OUTPUT
21
+ run : echo "version=$(node -v)" >> $GITHUB_OUTPUT
22
22
23
23
- name : Get package manager type and version from `package.json`
24
24
id : pkg_manager_value
33
33
34
34
- name : Restore possibly cached dependencies
35
35
id : cache-node-modules
36
- uses : actions/cache@v3
36
+ uses : actions/cache@v4
37
37
with :
38
38
path : ./node_modules
39
39
key : node-modules-${{ runner.os }}-${{ steps.node_version.outputs.version }}-${{ hashFiles('./pnpm-lock.yaml') }}
Original file line number Diff line number Diff line change 1
- name : CI - ts build check
1
+ name : CI - TypeScript build check
2
2
3
3
on :
4
4
pull_request :
Original file line number Diff line number Diff line change 48
48
"test-typings-check" : " tsc --noEmit -p ./spec/tsconfig.json" ,
49
49
"build" : " rm -rf ./dist && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsx ./scripts/set-module-type-in-dist-builds.ts" ,
50
50
"build-check" : " tsc --noEmit -p ./tsconfig.json" ,
51
- "prepack" : " npm run build"
51
+ "prepack" : " pnpm run build"
52
52
},
53
53
"peerDependencies" : {
54
54
"react" : " >=17"
You can’t perform that action at this time.
0 commit comments