Skip to content

Commit 38421e1

Browse files
committed
ci: fix local publish in CI
1 parent 908d3dd commit 38421e1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
- name: Bump version
5252
run: pnpm release --skip.commit --skip.tag
5353

54+
- name: Set local publishing config
55+
run: pnpm config set '//localhost:4873/:_authToken' "fake"
5456
- name: E2E tests
5557
run: |
5658
pnpm verdaccio &

packages/aws-sdk-client-mock-jest/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"build:es": "tsc -p tsconfig.es.json",
3232
"prebuild": "rimraf dist/",
3333
"build": "pnpm run build:cjs && pnpm run build:es",
34-
"local-publish": "pnpm publish --registry http://localhost:4873/ --no-git-checks"
34+
"local-publish": "pnpm publish --registry http://localhost:4873/"
3535
},
3636
"module": "dist/es/index.js",
3737
"main": "dist/cjs/index.js",

packages/aws-sdk-client-mock/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build:es": "tsc -p tsconfig.es.json",
3131
"prebuild": "rimraf dist/",
3232
"build": "pnpm run build:cjs && pnpm run build:es",
33-
"local-publish": "pnpm publish --registry http://localhost:4873/ --no-git-checks"
33+
"local-publish": "pnpm publish --registry http://localhost:4873/"
3434
},
3535
"module": "dist/es/index.js",
3636
"main": "dist/cjs/index.js",

0 commit comments

Comments
 (0)