diff --git a/.github/workflows/tests_check.yml b/.github/workflows/tests_check.yml new file mode 100644 index 0000000000..e20d7afb4b --- /dev/null +++ b/.github/workflows/tests_check.yml @@ -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