Feat/load specific JSON based on the provider version #27
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: pr-check | |
on: | |
pull_request: | |
paths: | |
- "**.yml" | |
- "src/**" | |
- "config/**" | |
- "resource/**" | |
- "package.json" | |
jobs: | |
pr-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- run: npm install | |
- name: Run headless test | |
uses: coactions/setup-xvfb@v1 | |
if: runner.os == 'Linux' | |
with: | |
run: xvfb-run -a npm test | |
- name: Run test | |
run: npm test | |
if: runner.os != 'Linux' |