Skip to content

fix(deps): update devdependencies #49

fix(deps): update devdependencies

fix(deps): update devdependencies #49

Workflow file for this run

name: Publish articles
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
publish_articles:
runs-on: ubuntu-latest
environment: publish
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT_CHECKOUT }}
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
cache: "npm"
- run: npm ci
- 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
git config --global user.name 'github-actions[bot]'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git commit -m 'Updated by qiita-cli'
git push --force
fi