@@ -88,31 +88,31 @@ jobs:
88
88
# naiserator_file: deploy/dev-gcp.yml
89
89
# secrets: inherit
90
90
91
- # check-change-compat-typescript-client:
92
- # name: Change and compatibility check typescript client
93
- # runs-on: ubuntu-latest
94
- # needs: [build-typescript-client, deploy-dev ]
95
- # outputs:
96
- # hasChanged: ${{ steps.compare-with-published.outputs.hasChanged }}
97
- # permissions:
98
- # contents: read
99
- # packages: read
100
- # steps:
101
- # - uses: actions/download-artifact@v4
102
- # with:
103
- # name: ung-sak-typescript-client-src
104
- # path: /tmp/ung-sak-typescript-client
105
- # - uses: navikt/openapi-ts-clientmaker/extra/actions/compare-with-published@v1
106
- # id: compare-with-published
107
- # with:
108
- # localPath: /tmp/ung-sak-typescript-client
109
- # npmPackageName: ung-sak-typescript-client
110
- # githubToken: ${{ secrets.GITHUB_TOKEN }}
111
- # - uses: navikt/ung -sak-web/.github/actions/check-compat-typescript-client@master
112
- # if: steps.compare-with-published.outputs.hasChanged == 'true'
113
- # with:
114
- # readerToken: ${{ secrets.READER_TOKEN }}
115
- # newClientPath: /tmp/ung-sak-typescript-client
91
+ check-change-compat-typescript-client :
92
+ name : Change and compatibility check typescript client
93
+ runs-on : ubuntu-latest
94
+ needs : [build-typescript-client]
95
+ outputs :
96
+ hasChanged : ${{ steps.compare-with-published.outputs.hasChanged }}
97
+ permissions :
98
+ contents : read
99
+ packages : read
100
+ steps :
101
+ - uses : actions/download-artifact@v4
102
+ with :
103
+ name : ung-sak-typescript-client-src
104
+ path : /tmp/ung-sak-typescript-client
105
+ - uses : navikt/openapi-ts-clientmaker/extra/actions/compare-with-published@v1
106
+ id : compare-with-published
107
+ with :
108
+ localPath : /tmp/ung-sak-typescript-client
109
+ npmPackageName : ung-sak-typescript-client
110
+ githubToken : ${{ secrets.GITHUB_TOKEN }}
111
+ - uses : navikt/k9 -sak-web/.github/actions/check-compat-typescript-client@master
112
+ if : steps.compare-with-published.outputs.hasChanged == 'true'
113
+ with :
114
+ readerToken : ${{ secrets.READER_TOKEN }}
115
+ newClientPath : /tmp/ung-sak-typescript-client
116
116
117
117
# publish-typescript-client:
118
118
# name: Publish typescript client
0 commit comments