Website/.github/workflows/fetch-releases.yml
2025-03-15 00:04:18 -04:00

30 lines
No EOL
554 B
YAML

name: fetch releases
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
fetch-release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: install dependencies
run: |
npm install
npm install -g tsx
- name: run fetchreleases
run: |
npx tsx $GITHUB_WORKSPACE/src/lib/fetchreleases.ts