Merge pull request #51 from code4rena-dev/icons-and-ecosystems #88
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
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: Jest | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop, main ] | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
cache: "npm" | |
- name: Install Dependencies | |
run: npm install | |
- name: Run tests using Jest | |
run: npm test # run tests (configured to use jest-junit reporter) |