<commit_before>name: Release
on:
  push:
    branches:
      - delivery

concurrency:
  group: release-${{ github.ref }}
  cancel-in-progress: true

jobs:
  # test:
  #   uses: vue-styleguidist/vue-styleguidist/.github/workflows/test.yml@delivery

  release:
    # needs: test
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: "Use NodeJS 14"
        uses: actions/setup-node@v2
        with:
          node-version: '14'

      - name: Init & Build
        uses: ./.github/actions/build

      - name: Setup GitHub User
        run: |
          git config --global user.name "Vue Styleguidist Bot"
          git config --global user.email "${{ secrets.BOT_EMAIL }}"

      - run: npx --yes -- lerna version --yes

      - run: npx --yes -- lerna publish from-git --yes
        env:
          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

      - name: Merge back<commit_msg>build: use new github token<commit_after>name: Release
on:
  push:
    branches:
      - delivery

concurrency:
  group: release-${{ github.ref }}
  cancel-in-progress: true

jobs:
  # test:
  #   uses: vue-styleguidist/vue-styleguidist/.github/workflows/test.yml@delivery

  release:
    # needs: test
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: "Use NodeJS 14"
        uses: actions/setup-node@v2
        with:
          node-version: '14'

      - name: Init & Build
        uses: ./.github/actions/build

      - name: Setup GitHub User
        run: |
          git config --global user.name "Vue Styleguidist Bot"
          git config --global user.email "${{ secrets.BOT_EMAIL }}"

      - run: npx --yes -- lerna version --yes
        env:
          GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

      - run: npx --yes -- lerna publish from-git --yes
        env:
          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

      - name: Merge back
{'fraction_non_alphanumeric': 0.12325941206807632, 'fraction_numerical': 0.006188757091284167, 'mean_word_length': 1.8826151560178306, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '639424', 'n_tokens_mistral': 662, 'n_tokens_neox': 636, 'n_words': 158}