Skip to content

Commit 07f4ca9

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/js-yaml-4.1.1
2 parents 28e95c4 + 6f9acbc commit 07f4ca9

File tree

10 files changed

+34421
-5569
lines changed

10 files changed

+34421
-5569
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
version: 2
22
updates:
3-
- package-ecosystem: github-actions
4-
directory: /
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
55
schedule:
6-
interval: monthly
6+
interval: "monthly"
7+
groups:
8+
all-actions:
9+
patterns:
10+
- "*"
711

8-
- package-ecosystem: npm
9-
directory: /
12+
- package-ecosystem: "npm"
13+
directory: "/"
1014
schedule:
11-
interval: monthly
15+
interval: "monthly"
16+
groups:
17+
development:
18+
patterns:
19+
- "eslint*"

.github/workflows/build-dist.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build dist
2+
3+
on: pull_request
4+
5+
permissions:
6+
contents: write
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v6
14+
with:
15+
ref: ${{ github.head_ref }}
16+
17+
- uses: actions/setup-node@v6.2.0
18+
with:
19+
node-version: lts/*
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Rebuild dist/
25+
run: npm run package
26+
27+
- name: Check for changes
28+
id: diff
29+
run: |
30+
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
31+
echo "changed=true" >> "$GITHUB_OUTPUT"
32+
fi
33+
34+
- name: Commit updated dist/
35+
if: steps.diff.outputs.changed == 'true'
36+
run: |
37+
git config user.name "github-actions[bot]"
38+
git config user.email "github-actions[bot]@users.noreply.github.com"
39+
git add dist/
40+
git commit -m "build: rebuild dist/"
41+
git push

.github/workflows/check-dist.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.github/workflows/eslint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ jobs:
44
lint:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v4
7+
- uses: actions/checkout@v6
88
- uses: actions/setup-node@v6.2.0
99
with:
10-
node-version: '16'
10+
node-version: lts/*
1111
- run: npm ci
1212
- run: npm run lint

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ inputs:
99
default: ${{ github.token }}
1010
required: true
1111
runs:
12-
using: "node20"
12+
using: "node24"
1313
main: "dist/index.js"

0 commit comments

Comments
 (0)