From 5213539668d3397acdd9e2b7c8648e5b00820371 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 18 Oct 2022 08:53:25 +0800 Subject: [PATCH] chore: update workflows config. --- .github/workflows/ci.marster.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.marster.yml b/.github/workflows/ci.marster.yml index 7c762212..397198bb 100644 --- a/.github/workflows/ci.marster.yml +++ b/.github/workflows/ci.marster.yml @@ -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 @@ -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 @@ -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 }} @@ -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: