diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0078151..7ffa85e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,9 +25,10 @@ jobs: node-version-file: ".node-version" cache: "npm" - run: npm ci - - run: npm run qiita publish --all + - run: npx qiita publish --all env: QIITA_TOKEN: ${{ secrets.QIITA_TOKEN }} + - run: npm run lint:fix - run: | git add ./public/* if ! git diff --staged --exit-code --quiet; then diff --git a/package.json b/package.json index b92b83c..d7750e1 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "t:cache": "textlint --cache ./public/**/*.md", "m": "markdownlint-cli2 ./public/**/*.md", "f": "prettier --cache ./public/**/*.md", - "qiita": "qiita", "postinstall": "husky", "preinstall": "npx only-allow npm" },