Skip to content

Commit 6d98a50

Browse files
committed
chore: update workflows config.
1 parent e856815 commit 6d98a50

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
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 build
@@ -20,7 +20,7 @@ jobs:
2020
- run: npm run doc
2121

2222
- name: Create Coverage Badges
23-
uses: jaywcjlove/coverage-badges-cli@v1.0.10
23+
uses: jaywcjlove/coverage-badges-cli@main
2424
with:
2525
output: coverage/badges.svg
2626

@@ -38,13 +38,13 @@ jobs:
3838

3939
- name: Create Tag
4040
id: create_tag
41-
uses: jaywcjlove/create-tag-action@v1.3.6
41+
uses: jaywcjlove/create-tag-action@main
4242
with:
4343
package-path: ./package.json
4444

4545
- name: get tag version
4646
id: tag_version
47-
uses: jaywcjlove/changelog-generator@v1.5.0
47+
uses: jaywcjlove/changelog-generator@main
4848

4949
- name: Deploy
5050
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.0
58+
uses: jaywcjlove/changelog-generator@main
5959
with:
6060
token: ${{ secrets.GITHUB_TOKEN }}
6161
head-ref: ${{steps.create_tag.outputs.version}}
@@ -91,7 +91,7 @@ jobs:
9191
successful: ${{steps.create_tag.outputs.successful }}
9292

9393
github-package:
94-
runs-on: ubuntu-18.04
94+
runs-on: ubuntu-latest
9595
needs: build-deploy
9696
if: needs.build-deploy.outputs.successful
9797
steps:

.github/workflows/pull_request.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ on:
44

55
jobs:
66
build-deploy:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: actions/setup-node@v2
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v3
1111
with:
12-
node-version: 14
12+
node-version: 16
1313

1414
- run: npm install
1515
- run: npm run build

0 commit comments

Comments
 (0)