From a8e27ebcdee23b3a67dc72ecf0370eb5d2eb7a32 Mon Sep 17 00:00:00 2001 From: Aleksey Konstantinov Date: Tue, 5 Mar 2024 22:01:10 +0300 Subject: [PATCH 1/2] Updated github actions --- .github/CODEOWNERS | 1 + .github/workflows/check.yml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/check.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..4d15cfca --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @foxford/ulms-frontend diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 00000000..0957637f --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,7 @@ +name: check + +on: [push] + +jobs: + check: + uses: foxford/reusable-workflows/.github/workflows/check-js.yml@v1.1.0 From 1403788b2c487057a6fc494f111c8d0a5b008111 Mon Sep 17 00:00:00 2001 From: Aleksey Konstantinov Date: Tue, 5 Mar 2024 22:08:55 +0300 Subject: [PATCH 2/2] Removed semaphore ci files --- .semaphore/semaphore.yml | 41 ---------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 .semaphore/semaphore.yml diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml deleted file mode 100644 index cd48cad8..00000000 --- a/.semaphore/semaphore.yml +++ /dev/null @@ -1,41 +0,0 @@ -version: v1.0 -name: ulms-media-ui -agent: - machine: - type: e1-standard-2 - os_image: ubuntu2004 -execution_time_limit: - minutes: 20 -blocks: - - name: Install - task: - jobs: - - name: prepare - commands: - - checkout - - nvm install $(cat .nvmrc) - - nvm use - - cache restore node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum package-lock.json),node-modules-$SEMAPHORE_GIT_BRANCH - - npm ci - - cache store node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum package-lock.json) node_modules - - name: Commit - task: - env_vars: - - name: NODE_ENV - value: production - secrets: - - name: codecov-token-ulms - jobs: - - name: test - commands: - - checkout - - nvm install $(cat .nvmrc) - - nvm use - - cache restore node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum package-lock.json) - - npx lerna bootstrap - - npm run test/lint - - npm run coverage/report - - curl -Os https://uploader.codecov.io/latest/linux/codecov - - chmod +x codecov - - ./codecov -t ${CODECOV_TOKEN} -