chore(deps): update dependency eslint to v9 #1819
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Media Definition Validator | |
on: | |
pull_request: | |
types: [assigned, opened, synchronize, reopened] | |
env: | |
NODE_VERSION: 20 | |
jobs: | |
validate: | |
name: Validate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Checkout the head ref instead of the PR branch that github creates. | |
ref: ${{ github.head_ref }} | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install and build | |
run: | | |
npm ci | |
npm run compile | |
- name: Run status checks | |
run: node dist/validator.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |