Skip to content

Merge pull request #916 from Chia-Network/develop #1151

Merge pull request #916 from Chia-Network/develop

Merge pull request #916 from Chia-Network/develop #1151

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- '**'
env:
PICKLIST_URL: https://climate-warehouse.s3.us-west-2.amazonaws.com/public/picklists.json
jobs:
test:
name: NPM Tests
runs-on: ubuntu-latest
container:
image: node:18.16
steps:
- uses: Chia-Network/actions/clean-workspace@main
- name: Checkout Code
uses: actions/checkout@v3
- name: Ignore Husky
run: npm pkg delete scripts.prepare
- name: Install Mocha
run: npm install --save-dev mocha
- name: npm install
run: npm install
- name: npm cache clear --force
run: npm cache clear --force
- name: npm cache rm
run: npm cache rm --force
- name: npm cache verify
run: npm cache verify
- name: install global packages
run: npm i -g @babel/cli sequelize-cli cross-env
- name: npm tests
run: npm run test