Skip to content

Commit

Permalink
Move env variables to correct step in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
magne committed Apr 14, 2023
1 parent 841ea30 commit 75304f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
cache: "npm"
- name: Enable RabbitMQ Plugins
run: docker exec ${{ job.services.rabbitmq.id }} rabbitmq-plugins enable rabbitmq_stream rabbitmq_stream_management
env:
RABBITMQ_USER: "rabbit"
RABBITMQ_PASSWORD: "rabbit"
- run: npm ci
- run: npm run check
- run: npm run build --if-present
- run: npm test
env:
RABBITMQ_USER: "test-user"
RABBITMQ_PASSWORD: "test-password"
- run: cd example && npm install && npm start

0 comments on commit 75304f3

Please sign in to comment.