Skip to content

Commit 20b5980

Browse files
authored
fix: don't use tokens to publish (#516)
1 parent 210a3fa commit 20b5980

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,12 @@ jobs:
2424
cache-dependency-path: "**/yarn.lock"
2525
registry-url: "https://registry.npmjs.org"
2626
scope: "@reflag"
27+
- name: npm version
28+
run: npm version
2729
- name: Install dependencies
2830
run: yarn install --immutable
2931
- name: Build packages
3032
run: yarn build
31-
- name: npm login
32-
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
33-
env:
34-
NPM_TOKEN: ${{ secrets.REFLAG_NPM_TOKEN }}
3533
- name: Publish
3634
run: yarn lerna publish from-package --no-private --yes
3735
- name: Build docs

0 commit comments

Comments
 (0)