update workflow

This commit is contained in:
Obelous 2025-06-24 19:01:32 +01:00
parent 274ce6fdaf
commit 3b3f2764bc
2 changed files with 8 additions and 8 deletions

View file

@ -1,5 +1,9 @@
name: Node.js CI on:
on: [push] push:
branches: [ main ]
schedule:
- cron: '0 0 * * *'
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -9,5 +13,4 @@ jobs:
with: with:
node-version: '20' node-version: '20'
cache: 'npm' cache: 'npm'
- run: npm install - run: node update.js
- run: npm run

View file

@ -13,8 +13,5 @@
"license": "ISC", "license": "ISC",
"author": "", "author": "",
"type": "commonjs", "type": "commonjs",
"main": "update.js", "main": "update.js"
"scripts": {
"run": "echo \"Error: no test specified\" && exit 1"
}
} }