File tree Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 1010
1111
1212env :
13- NODE_ACTIVE_LTS : " 16 " # see https://nodejs.org/en/about/releases/
13+ NODE_ACTIVE_LTS : " 18 " # see https://nodejs.org/en/about/releases/
1414 REPORTS_DIR : " reports"
1515
1616jobs :
9696 node-version :
9797 # action based on https://github.com/actions/node-versions/releases
9898 # see also: https://nodejs.org/en/about/releases/
99- - " 18" # current
100- - " 16" # active LTS
99+ - " 19" # current
100+ - " 18" # active LTS
101+ - " 16"
101102 - " 14"
102103 - " 14.0.0" # lowest supported
103104 os :
@@ -158,18 +159,22 @@ jobs:
158159 uses : actions/setup-node@v3
159160 with :
160161 node-version : ${{ env.NODE_ACTIVE_LTS }}
161- - name : setup project
162- run : >
163- npm i --no-save
164- 'typescript@${{ matrix.typescript-version }}'
165- '@types/node@${{ matrix.nodeTypes-version || env.NODE_ACTIVE_LTS }}'
166- working-directory : ${{ env.EXAMPLE_DIR }}
167162 - name : fetch build artifact
168163 # see https://github.com/actions/download-artifact
169164 uses : actions/download-artifact@v3
170165 with :
171166 name : dist.d
172167 path : dist.d
168+ - name : setup library
169+ run : npm i --ignore-scripts --omit=dev
170+ - name : setup example project
171+ run : >
172+ npm i --no-save
173+ 'typescript@${{ matrix.typescript-version }}'
174+ '@types/node@${{ matrix.nodeTypes-version || env.NODE_ACTIVE_LTS }}'
175+ working-directory : ${{ env.EXAMPLE_DIR }}
176+ - run : npm ls
177+ working-directory : ${{ env.EXAMPLE_DIR }}
173178 - name : use type declarations
174179 run : npm run build
175180 working-directory : ${{ env.EXAMPLE_DIR }}
Original file line number Diff line number Diff line change 2525
2626env :
2727 REPORTS_DIR : CI_reports
28- NODE_ACTIVE_LTS : " 16 "
28+ NODE_ACTIVE_LTS : " 18 "
2929
3030jobs :
3131 bump :
You can’t perform that action at this time.
0 commit comments