Skip to content

fix: filter push events by PR branch to prevent timer reset #24

fix: filter push events by PR branch to prevent timer reset

fix: filter push events by PR branch to prevent timer reset #24

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: Test
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:7.0
ports:
- 27017:27017
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.17'
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
env:
MONGO_URL: mongodb://127.0.0.1:27017/worlddriven_test
- name: Build
run: npm run build