-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (48 loc) · 1.2 KB
/
stats.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: stat-card
run-name: ${{ github.workflow }} ✅ ${{ github.ref }} ✅ ${{ github.actor }} ✅ ${{ github.event_name}}
on:
workflow_dispatch:
jobs:
Card:
name: Card
continue-on-error: false
strategy:
fail-fast: false
max-parallel: 3
runs-on: ubuntu-latest
permissions: read-all
timeout-minutes: 10
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
GITHUB_owner: ${{github.repository_owner}}
FORCE_COLOR: 3
defaults:
run:
shell: bash
working-directory: ${{ github.workspace }}
steps:
- name: checkout ${{ github.ref }}
id: checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: node
id: node
uses: actions/setup-node@v4
with:
node-version: 'latest'
- name: npm
id: npm
run: |
npm install --save
- name: update
id: update
run: |
npm run update
- name: check
id: check
run: |
tree -h ${{ github.workspace }}/generated
cat ${{ github.workspace }}/generated/overview.svg
cat ${{ github.workspace }}/generated/languages.svg