From 5d41ac769b6bdfd06a5641c61cfc9cc78140a39f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Tue, 21 Jun 2022 14:33:45 +0200 Subject: [PATCH] fix: build and deployment of scheduler --- .github/workflows/scheduler.release.dev.yml | 5 +++-- .github/workflows/version-bump.yml | 2 -- package.json | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/scheduler.release.dev.yml b/.github/workflows/scheduler.release.dev.yml index 238fca1fd..efed19fc7 100644 --- a/.github/workflows/scheduler.release.dev.yml +++ b/.github/workflows/scheduler.release.dev.yml @@ -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: diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index 0b7c0ed87..40311c4e6 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -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 diff --git a/package.json b/package.json index ea727182f..ce9c3de21 100644 --- a/package.json +++ b/package.json @@ -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",