Skip to content

Commit

Permalink
chore: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed May 31, 2021
1 parent 2caa582 commit 1174d5c
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ jobs:
build-deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master

- name: Setup Node
uses: actions/setup-node@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '10.x'
node-version: 14

# - name: Cache dependencies
# uses: actions/cache@v1
Expand All @@ -28,7 +26,7 @@ jobs:
# ${{ runner.os }}-node-

- name: Look Changelog
uses: jaywcjlove/changelog-generator@v1.3.9
uses: jaywcjlove/changelog-generator@v1.3.10
with:
token: ${{ secrets.GITHUB_TOKEN }}
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot|renovate\-bot)
Expand All @@ -47,14 +45,14 @@ jobs:

- name: Is a tag created auto?
id: create_tag
uses: jaywcjlove/create-tag-action@v1.1.7
uses: jaywcjlove/create-tag-action@v1.1.10
with:
token: ${{ secrets.GITHUB_TOKEN }}
package-path: ./packages/tsbb/package.json

- name: Generate Changelog
id: changelog
uses: jaywcjlove/changelog-generator@v1.3.9
uses: jaywcjlove/changelog-generator@v1.3.10
if: steps.create_tag.outputs.successful
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -63,20 +61,21 @@ jobs:
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'

- name: Create Release
id: create_release
uses: actions/create-release@latest
uses: ncipollo/release-action@v1
if: steps.create_tag.outputs.successful
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.create_tag.outputs.version }}
release_name: ${{ steps.create_tag.outputs.version }}
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ steps.create_tag.outputs.version }}
tag: ${{ steps.create_tag.outputs.version }}
body: |
[![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/tsbb@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![](https://img.shields.io/github/issues/jaywcjlove/tsbb.svg)](https://github.com/jaywcjlove/tsbb/releases) [![](https://img.shields.io/github/forks/jaywcjlove/tsbb.svg)](https://github.com/jaywcjlove/tsbb/network) [![](https://img.shields.io/github/stars/jaywcjlove/compile-less.svg)](https://github.com/jaywcjlove/svgtofont/stargazers) [![](https://img.shields.io/github/release/jaywcjlove/compile-less.svg)](https://github.com/jaywcjlove/svgtofont/releases)
```bash
npm i tsbb@${{steps.create_tag.outputs.versionNumber}}
```
${{ steps.changelog.outputs.compareurl }}
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false

- run: mkdir -p zip

Expand Down

0 comments on commit 1174d5c

Please sign in to comment.