Skip to content

Commit 078cf86

Browse files
committed
Merge branch 'master' into production
2 parents c0e4756 + 45cb428 commit 078cf86

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+797
-232
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
ko_fi: coteschung
2-
custom: https://sponsor.cotes.page

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
pull-requests: write
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818

1919
- uses: ruby/setup-ruby@v1
2020
with:
2121
ruby-version: 3.3
2222
bundler-cache: true
2323

24-
- uses: actions/setup-node@v4
24+
- uses: actions/setup-node@v5
2525
with:
2626
node-version: lts/*
2727

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: Checkout
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v5
3535
with:
3636
fetch-depth: 0 # for posts's lastmod
3737

@@ -42,7 +42,7 @@ jobs:
4242
bundler-cache: true
4343

4444
- name: Setup Node
45-
uses: actions/setup-node@v4
45+
uses: actions/setup-node@v5
4646
with:
4747
node-version: lts/*
4848

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828

2929
# Initializes the CodeQL tools for scanning.
3030
- name: Initialize CodeQL
31-
uses: github/codeql-action/init@v3
31+
uses: github/codeql-action/init@v4
3232
with:
3333
languages: "${{ matrix.language }}"
3434
config-file: .github/codeql/codeql-config.yml
3535

3636
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
3737
# If this step fails, then you should remove it and run the build manually (see below)
3838
- name: Autobuild
39-
uses: github/codeql-action/autobuild@v3
39+
uses: github/codeql-action/autobuild@v4
4040

4141
- name: Perform CodeQL Analysis
42-
uses: github/codeql-action/analyze@v3
42+
uses: github/codeql-action/analyze@v4
4343
with:
4444
category: "/language:${{ matrix.language }}"

.github/workflows/commitlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ jobs:
1111
commitlint:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515
- uses: wagoid/commitlint-github-action@v6

.github/workflows/lint-js.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Lint JS
2+
3+
on:
4+
push:
5+
paths:
6+
- "_javascript/**/*.js"
7+
- ".github/workflows/scripts/**/*.js"
8+
- "*.js"
9+
pull_request:
10+
paths:
11+
- "_javascript/**/*.js"
12+
- ".github/workflows/scripts/*.js"
13+
- "*.js"
14+
15+
jobs:
16+
lint-js:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v5
20+
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v5
23+
with:
24+
node-version: lts/*
25+
26+
- name: Install Dependencies
27+
run: npm i
28+
29+
- name: Lint JS
30+
run: npm run lint:js

.github/workflows/lint-scss.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Lint SCSS
2+
3+
on:
4+
push:
5+
paths:
6+
- "_sass/**/*.scss"
7+
pull_request:
8+
paths:
9+
- "_sass/**/*.scss"
10+
11+
jobs:
12+
lint-scss:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v5
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v5
19+
with:
20+
node-version: lts/*
21+
22+
- name: Install Dependencies
23+
run: npm i
24+
25+
- name: Lint SCSS
26+
run: npm run lint:scss

.github/workflows/pr-filter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313

1414
steps:
1515
- name: Checkout Code
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717

1818
- name: Check PR Content
1919
id: intercept
20-
uses: actions/github-script@v7
20+
uses: actions/github-script@v8
2121
with:
2222
github-token: ${{ secrets.GITHUB_TOKEN }}
2323
script: |
24-
const script = require('.github/workflows/scripts/pr-filter.js');
25-
await script({ github, context, core });
24+
const { default: filter } = await import('${{ github.workspace }}/.github/workflows/scripts/pr-filter.js');
25+
await filter({ github, context, core });

.github/workflows/scripts/pr-filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function hasDescription(markdown) {
99
);
1010
}
1111

12-
module.exports = async ({ github, context, core }) => {
12+
export default async ({ github, context, core }) => {
1313
const pr = context.payload.pull_request;
1414
const body = pr.body === null ? '' : pr.body;
1515
const markdown = body.replace(/<!--[\s\S]*?-->/g, '');

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
stale:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/stale@v9
23+
- uses: actions/stale@v10
2424
with:
2525
# 60 days before marking issues/PRs stale
2626
days-before-close: -1 # does not close automatically

0 commit comments

Comments
 (0)