Skip to content

Commit 0158ebd

Browse files
committed
ci: update workflows config.
1 parent 44736ea commit 0158ebd

2 files changed

Lines changed: 11 additions & 16 deletions

File tree

.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: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
windows:
1212
runs-on: windows-latest
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 -v
@@ -32,10 +32,10 @@ jobs:
3232
contents: write
3333
id-token: write
3434
steps:
35-
- uses: actions/checkout@v3
36-
- uses: actions/setup-node@v3
35+
- uses: actions/checkout@v4
36+
- uses: actions/setup-node@v4
3737
with:
38-
node-version: 18
38+
node-version: 20
3939
registry-url: 'https://registry.npmjs.org'
4040

4141
- run: npm -v
@@ -242,7 +242,7 @@ jobs:
242242
uses: jaywcjlove/changelog-generator@main
243243

244244
- name: Deploy
245-
uses: peaceiris/actions-gh-pages@v3
245+
uses: peaceiris/actions-gh-pages@v4
246246
with:
247247
user_name: 'github-actions[bot]'
248248
user_email: 'github-actions[bot]@users.noreply.github.com'
@@ -263,6 +263,7 @@ jobs:
263263
uses: ncipollo/release-action@v1
264264
if: steps.create_tag.outputs.successful
265265
with:
266+
allowUpdates: true
266267
token: ${{ secrets.GITHUB_TOKEN }}
267268
name: ${{ steps.create_tag.outputs.version }}
268269
tag: ${{ steps.create_tag.outputs.version }}

0 commit comments

Comments
 (0)