Skip to content

Enable Live Markdown Preview on web #25833

Enable Live Markdown Preview on web

Enable Live Markdown Preview on web #25833

name: Validate Github Actions
on:
pull_request:
types: [opened, synchronize]
branches-ignore: [staging, production]
paths: ['.github/**', 'package.json', 'package-lock.json', 'tsconfig.json']
jobs:
verify:
if: github.actor != 'OSBotify' && github.actor != 'imgbot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: ./.github/actions/composite/setupNode
# Rebuild all the actions on this branch and check for a diff. Fail if there is one,
# because that would be a sign that the PR author did not rebuild the Github Actions
- name: Verify Javascript Action Builds
run: ./.github/scripts/verifyActions.sh
- name: Validate actions and workflows
run: npm run gh-actions-validate