Skip to content

Commit 20a1055

Browse files
committed
merged main
2 parents dba12ae + 70c9ad6 commit 20a1055

File tree

5 files changed

+842
-1140
lines changed

5 files changed

+842
-1140
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ updates:
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "weekly"
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
# Check for updates to GitHub Actions every week
16+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
- 20.x
2020
- 22.x
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@v5
2525
with:
2626
node-version: ${{ matrix.node-version }}
2727
- run: npm ci
@@ -43,10 +43,10 @@ jobs:
4343
runs-on: ubuntu-latest
4444
if: github.ref == 'refs/heads/main'
4545
steps:
46-
- uses: actions/download-artifact@v4
46+
- uses: actions/download-artifact@v5
4747
with:
4848
name: build
49-
- uses: peaceiris/actions-gh-pages@v3
49+
- uses: peaceiris/actions-gh-pages@v4
5050
with:
5151
github_token: ${{ secrets.GITHUB_TOKEN }}
5252
publish_dir: .
@@ -55,18 +55,19 @@ jobs:
5555
needs: build
5656
runs-on: ubuntu-latest
5757
steps:
58-
- uses: actions/download-artifact@v4
58+
- uses: actions/download-artifact@v5
5959
with:
6060
name: build
61-
- uses: actions/setup-node@v4
61+
- uses: actions/setup-node@v5
6262
with:
6363
node-version: 20.x
6464
- uses: rlespinasse/[email protected]
6565
- name: Append commit hash to package version
6666
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
6767
- name: Disable pre- and post-publish actions
6868
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
69-
- uses: JS-DevTools/npm-publish@v1
69+
- uses: JS-DevTools/[email protected]
70+
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
7071
with:
7172
token: ${{ secrets.NPM_TOKEN }}
7273
tag: ${{ env.GITHUB_REF_SLUG }}
@@ -76,15 +77,16 @@ jobs:
7677
runs-on: ubuntu-latest
7778
if: github.ref == 'refs/heads/main'
7879
steps:
79-
- uses: actions/download-artifact@v4
80+
- uses: actions/download-artifact@v5
8081
with:
8182
name: build
82-
- uses: actions/setup-node@v1
83+
- uses: actions/setup-node@v5
8384
with:
8485
node-version: 20.x
8586
- name: Disable pre- and post-publish actions
8687
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
87-
- uses: JS-DevTools/npm-publish@v1
88+
- uses: JS-DevTools/[email protected]
89+
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
8890
with:
8991
token: ${{ secrets.NPM_TOKEN }}
9092
tag: latest

0 commit comments

Comments
 (0)