update package-lock.json #350
Workflow file for this run
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: Unit tests | |
on: [ push ] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Setup Node.js" | |
id: setup-node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: contracts/package-lock.json | |
- name: "Install Dependencies" | |
id: install | |
run: cd contracts && npm ci | |
- name: "Backend Unit tests" | |
run: | | |
cd contracts && npm run test |