Skip to content

Commit 3f6de05

Browse files
Update actions and schedules (#5)
1 parent cb2fd92 commit 3f6de05

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

.github/dco.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require:
2+
members: false

.github/workflows/build.yml renamed to .github/workflows/build-for-pull-request.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,23 @@ permissions:
1111

1212
jobs:
1313
build:
14+
name: Build
1415
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
node-version: [ 20.x, 22.x, 24.x ]
1522
steps:
1623
- name: Checkout
1724
uses: actions/checkout@v6
1825

19-
- name: Setup Node.js
26+
- name: Use Node.js ${{ matrix.node-version }}
2027
uses: actions/setup-node@v6
2128
with:
22-
node-version: 22
23-
cache: npm
29+
node-version: ${{ matrix.node-version }}
30+
cache: "npm"
2431

2532
- name: Install Dependencies
2633
run: npm ci

.github/workflows/deploy-to-github-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
schedule:
8+
- cron: '0 3 1 1 *' # Every year on January 1st at 3 AM UTC
79
workflow_dispatch:
810

911
permissions:

0 commit comments

Comments
 (0)