File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 5050 runs-on : ubuntu-latest
5151 outputs :
5252 version : ${{ steps.version.outputs.result }}
53+ version-typescript : ${{ steps.version-typescript.outputs.result }}
5354 steps :
5455 - id : debug
5556 name : Print environment variables and event payload
7879 - id : version
7980 name : Get package version
8081 run : echo "result=$(jq .version package.json -r)" >> $GITHUB_OUTPUT
82+ - id : version-typescript
83+ name : Get TypeScript version
84+ run : echo "result=$(jq .devDependencies.typescript package.json -r)" >> $GITHUB_OUTPUT
8185 format :
8286 needs : metadata
8387 runs-on : ubuntu-latest
@@ -160,6 +164,7 @@ jobs:
160164 fail-fast : false
161165 matrix :
162166 typescript-version :
167+ - ${{ needs.metadata.outputs.version-typescript }}
163168 - latest
164169 - ~4.9.0
165170 steps :
You can’t perform that action at this time.
0 commit comments