npm-publish-action:GitHub动作,将软件包自动发布到npm

时间:2021-02-03 00:27:48
【文件属性】:
文件名称:npm-publish-action:GitHub动作,将软件包自动发布到npm
文件大小:19KB
文件格式:ZIP
更新时间:2021-02-03 00:27:48
npm github-actions npmJavaScript npm-发布动作 GitHub动作,将软件包自动发布到npm。 用法 创建一个新的.github/workflows/npm-publish.yml文件: name : npm-publish on : push : branches : - main # Change this to your default branch jobs : npm-publish : name : npm-publish runs-on : ubuntu-latest steps : - name : Checkout repository uses : actions/checkout@v2 - name : Publish if version has been updated uses : pascalgn/npm-publish-action@1.3.6 with : # All of theses inputs are optional tag_name : " v%s "
【文件预览】:
npm-publish-action-master
----index.js(5KB)
----package.json(687B)
----Dockerfile(400B)
----action.yml(790B)
----LICENSE(1KB)
----.gitignore(14B)
----README.md(2KB)
----yarn.lock(31KB)

网友评论