Skip to content

Test

Test #75

Workflow file for this run

name: "Test"
on:
workflow_dispatch:
schedule:
- cron: "18 18 * * 1,3,5"
push:
branches: [master]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: "Test"
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Test Local Action"
id: test
uses: ./
with:
file: package.json
keys: |
name
scripts.prettier:check
values: |
json-key-value-check-action
npx prettier --check .
- name: "Schedule Failure Notification"
if: ${{ failure() && github.event_name == 'schedule' }}
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}