Skip to content

Commit 19a03c6

Browse files
committed
trusted publishに対応する
1 parent 2eb039f commit 19a03c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
- run: yarn run build
3232
env:
3333
NODE_ENV: "production"
34+
- name: Upgrade npm to latest version
35+
run: npm install -g npm@latest
3436
- name: Publish package
3537
run: |
36-
yarn publish --access public
38+
npm publish --access public
3739
npm dist-tag add @yuito-it/qiita-cli@${RELEASED_PACKAGE_VERSION} fork
38-
env:
39-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)