Skip to content

Commit 616005b

Browse files
committed
ci: update workflows config.
1 parent 00b2942 commit 616005b

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# These are supported funding model platforms
2-
3-
# github: [jaywcjlove]
4-
# patreon: # Replace with a single Patreon username
5-
# open_collective: # Replace with a single Open Collective username
6-
# ko_fi: # Replace with a single Ko-fi username
7-
# tidelift: #npm/mocker-api
8-
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9-
custom: https://jaywcjlove.github.io/#/sponsor
1+
ko_fi: jaywcjlove
2+
buy_me_a_coffee: jaywcjlove
3+
custom: ["https://www.paypal.me/kennyiseeyou", "https://jaywcjlove.github.io/#/sponsor"]

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
node-version:
16+
- 20
1617
- 18
1718
- 16
1819
steps:

.github/workflows/main.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
contents: write
1212
id-token: write
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 18
17+
node-version: 20
1818
registry-url: 'https://registry.npmjs.org'
1919

2020
- run: npm install
@@ -39,7 +39,7 @@ jobs:
3939
Sponsor: https://jaywcjlove.github.io/#/sponsor
4040
EOF
4141
42-
- run: npm install idoc@1.27.2 -g
42+
- run: npm install idoc@1 -g
4343
- run: idoc --output="coverage"
4444

4545
- name: Create Tag
@@ -54,7 +54,7 @@ jobs:
5454
uses: jaywcjlove/changelog-generator@main
5555

5656
- name: Deploy
57-
uses: peaceiris/actions-gh-pages@v3
57+
uses: peaceiris/actions-gh-pages@v4
5858
with:
5959
commit_message: ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
6060
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -72,6 +72,7 @@ jobs:
7272
uses: ncipollo/release-action@v1
7373
if: steps.create_tag.outputs.successful
7474
with:
75+
allowUpdates: true
7576
token: ${{ secrets.GITHUB_TOKEN }}
7677
name: ${{ steps.create_tag.outputs.version }}
7778
tag: ${{ steps.create_tag.outputs.version }}

0 commit comments

Comments
 (0)