Skip to content

about‐github‐action

npmstudy edited this page Mar 1, 2024 · 1 revision

github action的权限

image

npm token配置

image

image

release.yml


        env:
          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

image

据说还有一种做法,参考https://twitter.com/LinkLin1987/status/1763425102857990176

env:
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

我没有实验成功。待测试。