Skip to content

.github/workflows/main.yml #122

.github/workflows/main.yml

.github/workflows/main.yml #122

Workflow file for this run

on:
schedule:
- cron: '0 20,8 * * *'
# on:
# push:
# branches:
# - main
jobs:
status:
name: Status check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install dependencies
run: npm ci
- run: npm test
continue-on-error: true
- run: npm run discord
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
ACTION_URL: "https://github.com/${{github.repository}}/commit/${{github.sha}}/checks/${{github.run_id}}"