-
-
Notifications
You must be signed in to change notification settings - Fork 23
46 lines (44 loc) · 1.27 KB
/
analysis.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
name: Analysis
on:
workflow_dispatch:
schedule:
- cron: '0 4 * * *'
jobs:
analysis:
name: Analysis
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: Cache analysis downloads
uses: actions/cache@v4
with:
path: |
analysis/cache
!analysis/cache/_results.json
key: ${{ runner.os }}-analysis
- name: Install dependencies
run: pnpm install
- name: Run analysis
run: pnpm start
working-directory: analysis
- name: Setup git
run: |
git config --global init.defaultBranch master
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- name: Update gist
run: pnpm gist
working-directory: analysis
env:
ANALYSIS_GIST: https://bluwy:${{ secrets.GIST_TOKEN }}@gist.github.com/64b0c283d8f0f3f8a8f4eea03c75a3b8.git