21 lines
538 B
YAML
21 lines
538 B
YAML
|
name: Retrieve Events Datas
|
||
|
run-name: Retrieve Events Datas
|
||
|
on: [push]
|
||
|
|
||
|
jobs:
|
||
|
Retrieve-Events-Datas:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Check out repository code
|
||
|
uses: actions/checkout@v4
|
||
|
- name: Use Node.js 20.x
|
||
|
uses: actions/setup-node@v4
|
||
|
with:
|
||
|
node-version: "20.x"
|
||
|
- run: npm ci
|
||
|
- run: npm run retrieve-datas
|
||
|
- name: Upload artifact
|
||
|
uses: https://gitea.com/actions/upload-artifact@v4
|
||
|
with:
|
||
|
name: events
|
||
|
path: ./events.json
|