File tree Expand file tree Collapse file tree 10 files changed +34421
-5569
lines changed
Expand file tree Collapse file tree 10 files changed +34421
-5569
lines changed Original file line number Diff line number Diff line change 11version : 2
22updates :
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*"
Original file line number Diff line number Diff line change 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
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 99 default : ${{ github.token }}
1010 required : true
1111runs :
12- using : " node20 "
12+ using : " node24 "
1313 main : " dist/index.js"
You can’t perform that action at this time.
0 commit comments