feat: add option to exclude from request block (#225) #6
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: Deriv API Test WorkFlow | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_test_and_publish: | |
name: Build and Test the Application | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js using 14.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- name: Install Packages | |
run: npm install | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
./node_modules | |
key: dependency-cache-{{ checksum "package.json" }} | |
- name: Run tests and collect coverage | |
run: npm test -- --collectCoverage=true && npm run coverage | |
- name: Check syntax | |
run: npm run syntax | |
- name: Save coverage artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: coverage | |
path: coverage |