feat: sqlite db locking mitigation #1683
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:20.16 | |
steps: | |
- uses: Chia-Network/actions/clean-workspace@main | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- 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: Show home directory | |
run: ls -lah ~ | |
- name: npm tests | |
run: npm run test |