fix: add mapper to getHomepage to it looks for nfts or items (#2247) #6698
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: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./webapp | |
steps: | |
- uses: actions/checkout@master | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4.0.1 | |
with: | |
node-version: 20.x | |
cache: "npm" | |
cache-dependency-path: webapp/package-lock.json | |
- name: Install | |
run: npm install --legacy-peer-deps | |
- name: Test | |
run: npm run test:coverage | |
- name: report coverage | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
base-path: ./webapp | |
path-to-lcov: ./webapp/coverage/lcov.info |