Skip to content

Check Edwiser

Check Edwiser #11207

Workflow file for this run

name: Check Edwiser
on:
workflow_dispatch:
schedule:
- cron: "0 9 * * *"
jobs:
CheckEdwiser:
runs-on: ubuntu-latest
steps:
- name: Get Code
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: "20"
- uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install NPM deps
run: yarn install
- uses: actions/github-script@v7
env:
WORDPRESS_AUTH: ${{ secrets.WORDPRESS_AUTH }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
SLACK_SECRET: ${{ secrets.SLACK_SECRET }}
with:
script: |
const script = require('./scripts/check-edwiser')
return await script(context);