maint: dep verions bump #71
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: Node.js CI/CD | |
| on: | |
| pull_request: | |
| branches: [ "*" ] | |
| workflow_dispatch: # Allow manual triggering | |
| jobs: | |
| setup: | |
| name: Setup and Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Setup Node.js 20.18.0 | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20.18.0 | |
| - name: Clean install dependencies | |
| run: rm -rf node_modules package-lock.json && npm i | |
| - name: Build project | |
| run: npm run build | |
| test: | |
| name: Run Tests | |
| needs: setup | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Setup Deno 2.4.x | |
| uses: denoland/setup-deno@v1 | |
| with: | |
| deno-version: 2.4.x | |
| - name: Setup Bun 1.2.x | |
| uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: 1.2.x | |
| - name: Run tests | |
| id: test | |
| run: npm test |