Skip to content

feat(workers): send daily DMs every hours for now #760

feat(workers): send daily DMs every hours for now

feat(workers): send daily DMs every hours for now #760

Workflow file for this run

name: Server CI
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: checkout
uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: cache npm modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: npm ci
working-directory: unfollow-ninja-server
run: npm ci
- name: lint
working-directory: unfollow-ninja-server
run: npm run lint
- name: build
working-directory: unfollow-ninja-server
run: npm run build
- name: test
working-directory: unfollow-ninja-server
run: npm run specs
docker:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: create an empty env file
working-directory: unfollow-ninja-server
run: touch .env
- name: build
working-directory: unfollow-ninja-server/tests
run: docker-compose build
- name: run tests
working-directory: unfollow-ninja-server/tests
run: docker-compose up --exit-code-from tests