Create Automatic_KYC_Status_Expiration_Worker #214
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: Vesting Vault Tests | |
| on: | |
| push: | |
| branches: [ "main", "develop", "feature/*" ] | |
| pull_request: | |
| branches: [ "main", "develop" ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| cache: 'npm' | |
| cache-dependency-path: backend/package-lock.json | |
| - name: Install dependencies | |
| working-directory: ./backend | |
| run: npm ci | |
| - name: Create environment file | |
| working-directory: ./backend | |
| run: cp .env.example .env | |
| - name: Create data directory | |
| working-directory: ./backend | |
| run: mkdir -p data | |
| - name: Run backend tests | |
| working-directory: ./backend | |
| run: npm test | |
| - name: Generate coverage report | |
| working-directory: ./backend | |
| run: npm run test:coverage | |