Skip to content

[TS migration] Migrate 'Desktop' files to TypeScript #25656

[TS migration] Migrate 'Desktop' files to TypeScript

[TS migration] Migrate 'Desktop' files to TypeScript #25656

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