chore: update workflows config.
This commit is contained in:
parent
5bcd5b1793
commit
7bf475d4b3
|
|
@ -16,12 +16,27 @@ jobs:
|
||||||
|
|
||||||
- name: Generate Changelog
|
- name: Generate Changelog
|
||||||
id: changelog
|
id: changelog
|
||||||
uses: jaywcjlove/changelog-generator@v1.4.2
|
uses: jaywcjlove/changelog-generator@v1.4.3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
|
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
|
||||||
filter: (^[\s]+?[R|r]elease)|(^[R|r]elease)
|
filter: (^[\s]+?[R|r]elease)|(^[R|r]elease)
|
||||||
|
|
||||||
|
|
||||||
|
- run: npm install
|
||||||
|
- run: npm run build
|
||||||
|
|
||||||
|
- run: npm install @jsdevtools/npm-publish -g
|
||||||
|
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
|
||||||
|
|
||||||
|
- run: npm run dash
|
||||||
|
|
||||||
|
- name: Deploy
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_dir: ./.deploy
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
|
|
@ -36,18 +51,5 @@ jobs:
|
||||||
```
|
```
|
||||||
|
|
||||||
${{ steps.changelog.outputs.compareurl }}
|
${{ steps.changelog.outputs.compareurl }}
|
||||||
${{ steps.changelog.outputs.changelog }}
|
|
||||||
|
${{ steps.changelog.outputs.changelog }}
|
||||||
- run: npm install
|
|
||||||
- run: npm run build
|
|
||||||
|
|
||||||
- run: npm install @jsdevtools/npm-publish -g
|
|
||||||
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
|
|
||||||
|
|
||||||
- run: npm run dash
|
|
||||||
|
|
||||||
- name: Deploy
|
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
publish_dir: ./.deploy
|
|
||||||
Loading…
Reference in New Issue