Skip to content

ZETA-7513: Update the private directories so no longer passed in #344

ZETA-7513: Update the private directories so no longer passed in

ZETA-7513: Update the private directories so no longer passed in #344

Workflow file for this run

name: Run Unit Tests
on:
pull_request:
branches: [ develop ]
workflow_dispatch:
jobs:
DevOpsPRUnitTests:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
node-version: '16'
cache: 'npm'
- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Build Private Dependencies and Test
run: |
sudo apt install -y jq
echo "@razroo:registry=https://npm.pkg.github.com/" >> ~/.npmrc
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GitHubToken }}" >> ~/.npmrc
yarn
- name: Test
run: |
yarn
npm run test