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 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} -