chore(release): create yarn patch to update changelogithub format

re #252


Former-commit-id: 739af09a5d
This commit is contained in:
cedoor
2023-02-16 18:41:15 +01:00
parent 4cd3863d03
commit a337021d8d
4 changed files with 47 additions and 3 deletions

View File

@@ -22,6 +22,22 @@ jobs:
with:
node-version: 16.x
- run: npx changelogithub
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Restore yarn cache
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn
- run: yarn version:release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}