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 Oct 18, 2022
1 parent 5c94966 commit 5213539
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.marster.yml
Expand Up @@ -6,12 +6,12 @@ on:

jobs:
build-deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
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 coverage
Expand All @@ -35,14 +35,14 @@ jobs:

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

- name: get tag version
id: tag_version
uses: jaywcjlove/changelog-generator@v1.5.3
uses: jaywcjlove/changelog-generator@main

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand All @@ -55,7 +55,7 @@ jobs:

- name: Generate Changelog
id: changelog
uses: jaywcjlove/changelog-generator@v1.5.3
uses: jaywcjlove/changelog-generator@main
if: steps.create_tag.outputs.successful
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -110,8 +110,7 @@ jobs:
- name: Modify @uiw/react-markdown-preview => @uiwjs/react-markdown-preview
uses: jaywcjlove/github-action-package@main
with:
data: |
{ "name": "@uiwjs/react-markdown-preview" }
rename: '@uiwjs/react-markdown-preview'

- run: npm publish
env:
Expand Down

0 comments on commit 5213539

Please sign in to comment.