Update Managed Files #1469
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '**' | |
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 |