Skip to content

Commit 0dc8391

Browse files
Fix OIDC (#745)
* Updating npm to allow oidc auth * bumping common patch version to test publish. * Fixing up package info.
1 parent 4ab0995 commit 0dc8391

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

.github/workflows/changesets-publish-npm-packages.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,23 +77,16 @@ jobs:
7777
node-version: "${{ steps.get_node_version.outputs.node_version }}"
7878
registry-url: 'https://registry.npmjs.org'
7979

80-
- name: Show Node and npm versions
81-
run: |
82-
node -v
83-
npm -v
84-
env
85-
86-
- name: Update npm for OIDC
87-
run: |
88-
corepack enable
89-
corepack prepare npm@latest --activate
80+
# Ensure npm 11.5.1 or later is installed for OIDC
81+
- name: Update npm
82+
run: npm install -g npm@latest
9083

9184
- name: Publish ${{ matrix.package.name }}
9285
working-directory: ${{ matrix.package.path }}
9386
run: |
9487
npm install
9588
npm run build
96-
npm publish
89+
npm publish --access public
9790
9891
- name: Build the version label
9992
id: build-label

Common/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@epicgames-ps/lib-pixelstreamingcommon-ue5.7",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Common utilities library for Unreal Engine 5.7 Pixel Streaming",
55
"main": "dist/cjs/pixelstreamingcommon.js",
66
"module": "dist/esm/pixelstreamingcommon.js",
@@ -44,6 +44,10 @@
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
}

Frontend/implementations/typescript/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,9 @@
2525
"dependencies": {
2626
"@epicgames-ps/lib-pixelstreamingfrontend-ue5.7": "*",
2727
"@epicgames-ps/lib-pixelstreamingfrontend-ui-ue5.7": "*"
28+
},
29+
"repository": {
30+
"type": "git",
31+
"url": "https://github.com/EpicGamesExt/PixelStreamingInfrastructure"
2832
}
2933
}

Frontend/library/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
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",

Frontend/ui-library/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
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",

Signalling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
},
5151
"repository": {
5252
"type": "git",
53-
"url": "https://github.com/EpicGames/PixelStreamingInfrastructure.git"
53+
"url": "https://github.com/EpicGames/PixelStreamingInfrastructure"
5454
}
5555
}

0 commit comments

Comments
 (0)