Skip to content

Merge branch 'main' of https://github.com/ANA-CNU/ANA-Daily-Algorithm #720

Merge branch 'main' of https://github.com/ANA-CNU/ANA-Daily-Algorithm

Merge branch 'main' of https://github.com/ANA-CNU/ANA-Daily-Algorithm #720

Workflow file for this run

name: Run JavaScript on Push
on:
push:
branches:
- main
jobs:
run_js:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "14" # You can specify your desired Node.js version
- name: Install Dependencies
run: |
cd .github/workflows/anabada
npm install
- name: Discord webhook
run: |
export DISCORD_WEBHOOK_URL="${{ secrets.DISCORD_WEBHOOK_URL }}"
node .github/workflows/anabada/main.js