We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c18922 commit 2230739Copy full SHA for 2230739
.github/workflows/publish-package.yml
@@ -27,12 +27,13 @@ jobs:
27
- name: Set version number to environment variable
28
run: |
29
node -p -e '`RELEASED_PACKAGE_VERSION=v${require("./package.json").version}`' >> $GITHUB_ENV
30
- node -p -e '`RELEASED_MAJOR_VERSION=v${require("./package.json").version}`' | awk -F. '{print $1}' >> $GITHUB_ENV
31
- run: yarn install
32
- run: yarn run build
33
env:
34
NODE_ENV: "production"
35
- name: Publish package
36
- run: yarn publish --access public
+ run: |
+ yarn publish --access public
37
+ npm dist-tag add @yuito-it/qiita-cli@${RELEASED_PACKAGE_VERSION} fork
38
39
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments