Skip to content

Commit

Permalink
Add test linting github action
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Sep 4, 2024
1 parent cb034f9 commit 258b81d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/tests_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: RxPlayer Tests Checks

on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- tests/**

jobs:
scripts_lint:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install
- run: npm run lint:tests

0 comments on commit 258b81d

Please sign in to comment.