File tree Expand file tree Collapse file tree 5 files changed +16
-5
lines changed
Expand file tree Collapse file tree 5 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 1111# This makes the matrix of jobs to run one at a time.
1212concurrency : ${{ github.workflow }}-${{ github.ref }}
1313
14+ permissions :
15+ id-token : write # Required for OIDC
16+ contents : read
17+
1418jobs :
1519 # gets all publishable npm packages.
1620 fetch-package-info :
4953 runs-on : ubuntu-latest
5054 needs : fetch-package-info
5155 permissions :
56+ id-token : write # Required for OIDC
5257 contents : write
5358 if : ${{ fromJSON(needs.fetch-package-info.outputs.matrix).count > 0 }}
5459 strategy :
@@ -72,10 +77,12 @@ jobs:
7277 node-version : " ${{ steps.get_node_version.outputs.node_version }}"
7378 registry-url : ' https://registry.npmjs.org'
7479
80+ # Ensure npm 11.5.1 or later is installed for OIDC
81+ - name : Update npm
82+ run : npm install -g npm@latest
83+
7584 - name : Publish ${{ matrix.package.name }}
7685 working-directory : ${{ matrix.package.path }}
77- env :
78- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
7986 run : |
8087 npm install
8188 npm run build
Original file line number Diff line number Diff line change 4444 },
4545 "author" : " Epic Games" ,
4646 "license" : " MIT" ,
47+ "repository" : {
48+ "type" : " git" ,
49+ "url" : " https://github.com/EpicGamesExt/PixelStreamingInfrastructure"
50+ },
4751 "publishConfig" : {
4852 "access" : " public"
4953 }
Original file line number Diff line number Diff line change 3838 },
3939 "repository" : {
4040 "type" : " git" ,
41- "url" : " https://github.com/EpicGamesExt/PixelStreamingInfrastructure.git "
41+ "url" : " https://github.com/EpicGamesExt/PixelStreamingInfrastructure"
4242 },
4343 "author" : " Epic Games" ,
4444 "license" : " MIT" ,
Original file line number Diff line number Diff line change 3434 },
3535 "repository" : {
3636 "type" : " git" ,
37- "url" : " https://github.com/EpicGamesExt/PixelStreamingInfrastructure.git "
37+ "url" : " https://github.com/EpicGamesExt/PixelStreamingInfrastructure"
3838 },
3939 "author" : " Epic Games" ,
4040 "license" : " MIT" ,
Original file line number Diff line number Diff line change 5050 },
5151 "repository" : {
5252 "type" : " git" ,
53- "url" : " https://github.com/EpicGames /PixelStreamingInfrastructure.git "
53+ "url" : " https://github.com/EpicGamesExt /PixelStreamingInfrastructure"
5454 }
5555}
You can’t perform that action at this time.
0 commit comments