Skip to content

Commit

Permalink
chore: update workflow config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jun 24, 2022
1 parent 230efa0 commit eeb16d1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,19 @@ jobs:
build-deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16

- name: Look Changelog
uses: jaywcjlove/changelog-generator@v1.4.8
uses: jaywcjlove/changelog-generator@v1.5.7
with:
token: ${{ secrets.GITHUB_TOKEN }}
filter-author: (renovate-bot|Renovate Bot)
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'

- run: npm install
- run: npm run hoist
- run: npm run build
- run: npm run type-check

Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ jobs:
build-deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16

- run: npm install
- run: npm run hoist
- run: npm run build

- name: example @example/basic
Expand Down Expand Up @@ -123,7 +122,7 @@ jobs:

- name: Is a tag created auto?
id: create_tag
uses: jaywcjlove/create-tag-action@v1.3.6
uses: jaywcjlove/create-tag-action@v1.3.7
with:
package-path: ./packages/tsbb/package.json

Expand Down Expand Up @@ -197,7 +196,7 @@ jobs:
- name: get tag version
id: tag_version
uses: jaywcjlove/changelog-generator@v1.5.0
uses: jaywcjlove/changelog-generator@v1.5.7

- name: Build and Deploy
uses: peaceiris/actions-gh-pages@v3
Expand All @@ -212,15 +211,15 @@ jobs:

- name: Generate Changelog
id: changelog
uses: jaywcjlove/changelog-generator@v1.5.0
uses: jaywcjlove/changelog-generator@v1.5.7
if: steps.create_tag.outputs.successful
with:
head-ref: ${{ steps.create_tag.outputs.version }}
filter-author: (renovate-bot|Renovate Bot)
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'

- name: Create Release
uses: jaywcjlove/create-tag-action@v1.3.6
uses: jaywcjlove/create-tag-action@v1.3.7
with:
package-path: ./packages/tsbb/package.json
release: true
Expand Down

0 comments on commit eeb16d1

Please sign in to comment.