-
Notifications
You must be signed in to change notification settings - Fork 46
44 lines (36 loc) · 920 Bytes
/
stars.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Stars & Fork
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# so we can commit --amend and push -f
fetch-depth: 2
- name: Git pull # Needed for sequential run
run: git pull
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 18
- name: Run apps
run: |
cd runner/
npm ci
node stats.js
shell: bash
- name: Update README/GRAPHS
run: |
cd runner/
node write_readme.js
node write_graphsdotmd.js
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Update stars & Fork"
file_pattern: runner/stats.json README.md GRAPHS.md