[fix] [Timestamp Trade] Use context manager with connection to cleanup and reduce db locking #62
Workflow file for this run
This file contains hidden or 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: Validate Plugins | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'plugins/**' | |
| - 'themes/**' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'plugins/**' | |
| - 'themes/**' | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| - run: cd ./validator && yarn install --frozen-lockfile | |
| - run: node ./validate.js --ci |