2323      fdiVersions : ${{ steps.versions.outputs.fdiVersions }} 
2424      cdiVersions : ${{ steps.versions.outputs.cdiVersions }} 
2525      pyVersions : ' ["3.8", "3.13"]' 
26+       nodeFdiVersionMap : ${{ steps.node-versions.outputs.fdiVersions }} 
27+       authReactFdiVersionMap : ${{ steps.auth-react-versions.outputs.fdiVersions }} 
2628    steps :
2729      - uses : actions/checkout@v4 
2830
3234          has-fdi : true 
3335          has-cdi : true 
3436
37+       - uses : supertokens/actions/get-versions-from-repo@main 
38+         id : auth-react-versions 
39+         with :
40+           repo : supertokens-auth-react 
41+           github-token : ${{ secrets.GITHUB_TOKEN }} 
42+           fdi-versions : ${{ steps.versions.outputs.fdiVersions }} 
43+ 
44+       - uses : supertokens/actions/get-versions-from-repo@main 
45+         id : node-versions 
46+         with :
47+           repo : supertokens-node 
48+           github-token : ${{ secrets.GITHUB_TOKEN }} 
49+           fdi-versions : ${{ steps.versions.outputs.fdiVersions }} 
50+ 
3551  setup-auth-react :
3652    runs-on : ubuntu-latest 
3753    needs : define-versions 
@@ -51,19 +67,20 @@ jobs:
5167      matrix : ${{ steps.setup-matrix.outputs.matrix }} 
5268
5369    steps :
54-       - uses :  supertokens/get- versions-action@main 
70+       - name :  Get node and auth-react  versions for FDI 
5571        id : versions 
56-         with :
57-           driver-name : python 
58-           fdi-version : ${{ matrix.fdi-version }} 
59-         env :
60-           SUPERTOKENS_API_KEY : ${{ secrets.SUPERTOKENS_API_KEY }} 
72+         run : | 
73+           nodeVersion=$( echo '${{ needs.define-versions.outputs.nodeFdiVersionMap }}' | jq -r '.["${{ matrix.fdi-version }}"]' ) 
74+           authReactVersion=$( echo '${{ needs.define-versions.outputs.authReactFdiVersionMap }}' | jq -r '.["${{ matrix.fdi-version }}"]' ) 
75+ 
76+           echo "nodeVersion=${nodeVersion}" >> $GITHUB_OUTPUT 
77+           echo "authReactVersion=${authReactVersion}" >> $GITHUB_OUTPUT 
6178
6279uses : supertokens/auth-react-testing-action/setup@main 
6380        id : envs 
6481        with :
65-           auth-react-version : ${{ steps.versions.outputs.authReactVersionXy  }} 
66-           node-sdk-version : ${{ steps.versions.outputs.nodeTag  }} 
82+           auth-react-version : ${{ steps.versions.outputs.authReactVersion  }} 
83+           node-sdk-version : ${{ steps.versions.outputs.nodeVersion  }} 
6784          fdi-version : ${{ matrix.fdi-version }} 
6885
6986      - id : setup-matrix 
0 commit comments