Skip to content

Refactor getters and pass resource into call and add codecov #11

Refactor getters and pass resource into call and add codecov

Refactor getters and pass resource into call and add codecov #11

Workflow file for this run

---
name: build-test
on: [push, pull_request]
jobs:
build-test:
strategy:
matrix:
node-version:
- 18
- 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up node-${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies and build the code
run: npm install
- name: Verify styling
id: style_verify
run: npm run format-dryrun
- name: Verify styling failure msg
if: steps.style_verify.outcome == 'failure'
run: echo "Please run 'npm run format' before commiting the code!"
- name: Run build
run: npm run build
- name: Run Test
run: npm test