diff --git a/.github/dco.yml b/.github/dco.yml new file mode 100644 index 0000000..0c4b142 --- /dev/null +++ b/.github/dco.yml @@ -0,0 +1,2 @@ +require: + members: false diff --git a/.github/workflows/build.yml b/.github/workflows/build-for-pull-request.yml similarity index 59% rename from .github/workflows/build.yml rename to .github/workflows/build-for-pull-request.yml index 59d99a3..e29fae1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build-for-pull-request.yml @@ -11,16 +11,23 @@ permissions: jobs: build: + name: Build runs-on: ubuntu-latest + permissions: + contents: read + strategy: + fail-fast: false + matrix: + node-version: [ 20.x, 22.x, 24.x ] steps: - name: Checkout uses: actions/checkout@v6 - - name: Setup Node.js + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v6 with: - node-version: 22 - cache: npm + node-version: ${{ matrix.node-version }} + cache: "npm" - name: Install Dependencies run: npm ci diff --git a/.github/workflows/deploy-to-github-pages.yml b/.github/workflows/deploy-to-github-pages.yml index 34800c1..b90e2ab 100644 --- a/.github/workflows/deploy-to-github-pages.yml +++ b/.github/workflows/deploy-to-github-pages.yml @@ -4,6 +4,8 @@ on: push: branches: - main + schedule: + - cron: '0 3 1 1 *' # Every year on January 1st at 3 AM UTC workflow_dispatch: permissions: