Skip to content

Commit 6b8c3c4

Browse files
committed
Use yarn npm publish instead of npx npm publish
Switch from yarn pack + npx npm publish to yarn npm publish for OIDC trusted publishing support.
1 parent 0dafa66 commit 6b8c3c4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,14 @@ jobs:
3737
- run: yarn run lint:ci
3838
- run: yarn run test
3939

40-
- run: yarn workspace @foxglove/omgidl-parser pack
4140
- name: Publish `omgidl-parser` to NPM
4241
if: ${{ startsWith(github.ref, 'refs/tags/omgidl-parser/v') }}
43-
run: npx npm@11.7.0 publish packages/omgidl-parser/package.tgz --provenance --access public
42+
run: yarn workspace @foxglove/omgidl-parser npm publish --provenance --access public
4443

45-
- run: yarn workspace @foxglove/omgidl-serialization pack
4644
- name: Publish `omgidl-serialization` to NPM
4745
if: ${{ startsWith(github.ref, 'refs/tags/omgidl-serialization/v') }}
48-
run: npx npm@11.7.0 publish packages/omgidl-serialization/package.tgz --provenance --access public
46+
run: yarn workspace @foxglove/omgidl-serialization npm publish --provenance --access public
4947

50-
- run: yarn workspace @foxglove/ros2idl-parser pack
5148
- name: Publish `ros2idl-parser` to NPM
5249
if: ${{ startsWith(github.ref, 'refs/tags/ros2idl-parser/v') }}
53-
run: npx npm@11.7.0 publish packages/ros2idl-parser/package.tgz --provenance --access public
50+
run: yarn workspace @foxglove/ros2idl-parser npm publish --provenance --access public

0 commit comments

Comments
 (0)