Skip to content

Commit da8e50b

Browse files
committed
ci: NEAR rewards workflow
1 parent cd0c816 commit da8e50b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/near-rewards.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: NEAR Protocol Rewards Tracking
2+
on:
3+
schedule:
4+
- cron: '0 */12 * * *' # Every 12 hours
5+
workflow_dispatch: # Manual trigger
6+
push:
7+
branches: [develop] # Start on develop branch updates
8+
jobs:
9+
track-metrics:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: '18'
16+
- name: Run Metrics Collection
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
GITHUB_REPO: ${{ github.repository }}
20+
run: npx near-protocol-rewards track

0 commit comments

Comments
 (0)