fix: build and deployment of scheduler

This commit is contained in:
Karol Sójko 2022-06-21 14:33:45 +02:00
parent 16f6b902d9
commit 5d41ac769b
No known key found for this signature in database
GPG key ID: A50543BF560BDEB0
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
name: Scheduler Server Dev
concurrency:
group: dev_environment
group: scheduler_dev_environment
cancel-in-progress: true
on:
@ -20,6 +20,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: yarn lint:scheduler
- run: yarn test:scheduler
publish-aws-ecr:
@ -58,7 +59,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build image
run: yarn docker build @standardnotes/scheduler-server -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
run: yarn docker build @standardnotes/scheduler-server -t standardnotes/scheduler
- name: Publish to Registry (dev tag)
uses: manusa/actions-publish-docker@v1.1.2
with:

View file

@ -32,8 +32,6 @@ jobs:
with:
node-version: '16.x'
- run: yarn install --immutable
- name: Bump Prod Version
if: ${{ github.ref == 'refs/heads/main' }}
run: yarn release:prod

View file

@ -12,6 +12,7 @@
},
"scripts": {
"lint": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run lint",
"lint:scheduler": "yarn workspace @standardnotes/scheduler-server lint",
"test": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run test",
"test:scheduler": "yarn workspace @standardnotes/scheduler-server test",
"clean": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run clean",