diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index fcb59c0..b76c705 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -12,24 +12,25 @@ jobs: uses: actions/setup-node@v1.4.2 with: node-version: 14 + + - name: Configure private AWS npm registry + run: | + npm config set registry http://ec2-54-194-151-120.eu-west-1.compute.amazonaws.com:4873 + npm set //ec2-54-194-151-120.eu-west-1.compute.amazonaws.com:4873/:_authToken="${{ secrets.NPMRC_ADMIN_USER_AUTH_TOKEN }}" + npm config set always-auth true + - name: yarn install run: | yarn install --frozen-lockfile - name: yarn build - uses: borales/actions-yarn@v2.3.0 - with: - cmd: build + run: yarn build - name: yarn test - uses: borales/actions-yarn@v2.3.0 - with: - cmd: test + run: yarn test - name: yarn coverage - uses: borales/actions-yarn@v2.3.0 - with: - cmd: coverage + run: yarn coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v1.0.12 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4fbec01..55d9d19 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,6 +46,12 @@ jobs: with: node-version: 14 + - name: Configure private AWS npm registry + run: | + npm config set registry http://ec2-54-194-151-120.eu-west-1.compute.amazonaws.com:4873 + npm set //ec2-54-194-151-120.eu-west-1.compute.amazonaws.com:4873/:_authToken="${{ secrets.NPMRC_ADMIN_USER_AUTH_TOKEN }}" + npm config set always-auth true + - name: yarn install --frozen-lockfile run: | yarn install --frozen-lockfile diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17b52ab..77c4b6e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,8 @@ name: build and test on: [push, pull_request] +# NPMRC_ADMIN_USER_AUTH_TOKEN + jobs: build-and-test: runs-on: ${{ matrix.os }} @@ -19,6 +21,12 @@ jobs: with: node-version: 14 + - name: Configure private AWS npm registry + run: | + npm config set registry http://ec2-54-194-151-120.eu-west-1.compute.amazonaws.com:4873 + npm set //ec2-54-194-151-120.eu-west-1.compute.amazonaws.com:4873/:_authToken="${{ secrets.NPMRC_ADMIN_USER_AUTH_TOKEN }}" + npm config set always-auth true + - name: yarn install --frozen-lockfile run: | yarn install --frozen-lockfile diff --git a/app/components/Home.tsx b/app/components/Home.tsx index a5f5e8a..ed0cc34 100644 --- a/app/components/Home.tsx +++ b/app/components/Home.tsx @@ -1,3 +1,4 @@ +/* eslint-disable prettier/prettier */ import React, { useState, useEffect } from 'react'; import { useTranslation } from 'react-i18next'; import { Link } from 'react-router-dom'; @@ -30,7 +31,7 @@ export default function Home(): JSX.Element {

Home

to Counter -

{`Signaling server is running on port: ${signalingServerPort}`}

+

{`${t('Signaling server is running on port')}: ${signalingServerPort}`}

{`Locales test ${t('Language')}`}