Skip to content

Commit 5213539

Browse files
committedOct 18, 2022
chore: update workflows config.
1 parent 5c94966 commit 5213539

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed
 

‎.github/workflows/ci.marster.yml

+8-9
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on:
66

77
jobs:
88
build-deploy:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v2
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 14
14+
node-version: 16
1515

1616
- run: npm install
1717
- run: npm run coverage
@@ -35,14 +35,14 @@ jobs:
3535

3636
- name: Is a tag created auto?
3737
id: create_tag
38-
uses: jaywcjlove/create-tag-action@v1.3.6
38+
uses: jaywcjlove/create-tag-action@main
3939
with:
4040
token: ${{ secrets.GITHUB_TOKEN }}
4141
package-path: ./package.json
4242

4343
- name: get tag version
4444
id: tag_version
45-
uses: jaywcjlove/changelog-generator@v1.5.3
45+
uses: jaywcjlove/changelog-generator@main
4646

4747
- name: Deploy
4848
uses: peaceiris/actions-gh-pages@v3
@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: Generate Changelog
5757
id: changelog
58-
uses: jaywcjlove/changelog-generator@v1.5.3
58+
uses: jaywcjlove/changelog-generator@main
5959
if: steps.create_tag.outputs.successful
6060
with:
6161
token: ${{ secrets.GITHUB_TOKEN }}
@@ -110,8 +110,7 @@ jobs:
110110
- name: Modify @uiw/react-markdown-preview => @uiwjs/react-markdown-preview
111111
uses: jaywcjlove/github-action-package@main
112112
with:
113-
data: |
114-
{ "name": "@uiwjs/react-markdown-preview" }
113+
rename: '@uiwjs/react-markdown-preview'
115114

116115
- run: npm publish
117116
env:

0 commit comments

Comments
 (0)
Please sign in to comment.