Skip to content

Commit

Permalink
test generating .npmrc in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnathanBaldera committed Nov 17, 2023
1 parent 8f4749e commit 3e6a9b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/stress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ jobs:
id: login-ecr
- name: login to ECR
run: aws ecr get-login-password --region ${{ env.AWS_REGION }} | docker login -u AWS --password-stdin 724664234782.dkr.ecr.us-east-1.amazonaws.com
- name: generate .npmrc to install minervia via npm
run: sed 's/${MINERVA_TOKEN}/${{secrets.MINERVA_PAT_TOKEN}}' /web/.npmrc.example && mv .npmrc.example .npmrc
- name: setup backend test env
run: docker compose -p velour -f docker-compose.yml -f docker-compose.cicd-override.yml --env-file ./api/.env.testing up --build -d
run: docker compose -p velour -f docker-compose.yml --build-arg -f docker-compose.cicd-override.yml --env-file ./api/.env.testing up --build -d
- uses: actions/setup-python@v4
with:
python-version: "3.10"
Expand Down
3 changes: 3 additions & 0 deletions web/.npmrc.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//npm.pkg.github.com/:_authToken=${MINERVA_TOKEN}
@striveworks:registry=https://npm.pkg.github.com
save-prefix=""

0 comments on commit 3e6a9b6

Please sign in to comment.