Skip to content

Commit

Permalink
feat: added environment variable to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Homoakin619 committed Aug 24, 2024
1 parent b0318a3 commit e0ad891
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/scheduled-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
uses: actions/checkout@v3

- name: Run a script
env:
POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }}
run: |
cd qa
chmod +x test.sh
Expand Down
2 changes: 1 addition & 1 deletion qa/test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
npm install dot-env
npm install dotenv
npm install newman
node ./index.js

0 comments on commit e0ad891

Please sign in to comment.