Skip to content

Commit c3d2efa

Browse files
committed
ci: update workflows config.
1 parent 8d15407 commit c3d2efa

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

.github/FUNDING.yml

+3-9
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/xxxx
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

+5-4
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
@@ -52,7 +52,7 @@ jobs:
5252
uses: jaywcjlove/changelog-generator@main
5353

5454
- name: Deploy
55-
uses: peaceiris/actions-gh-pages@v3
55+
uses: peaceiris/actions-gh-pages@v4
5656
with:
5757
commit_message: ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
5858
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -71,6 +71,7 @@ jobs:
7171
uses: ncipollo/release-action@v1
7272
if: steps.create_tag.outputs.successful
7373
with:
74+
allowUpdates: true
7475
token: ${{ secrets.GITHUB_TOKEN }}
7576
name: ${{ steps.create_tag.outputs.version }}
7677
tag: ${{ steps.create_tag.outputs.version }}

.github/workflows/pull_request.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ jobs:
66
build-deploy:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
10-
- uses: actions/setup-node@v3
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v4
1111
with:
12-
node-version: 16
12+
node-version: 20
1313

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

0 commit comments

Comments
 (0)