Skip to content

Commit

Permalink
Merge pull request #45 from hirushaph/development
Browse files Browse the repository at this point in the history
Update nodejs yml
  • Loading branch information
hirushaph authored Mar 27, 2024
2 parents 2e35931 + 5015377 commit c8687ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
jobs:
test:
runs-on: ubuntu-latest
env:
MONGODB_URL_TEST: ${{ secrets.MONGODB_URL_TEST }}
JWT_ACCESS_SECRET: ${{ secrets.JWT_ACCESS_SECRET }}
JWT_REFRESH_SECRET: ${{ secrets.JWT_REFRESH_SECRET }}

strategy:
matrix:
Expand All @@ -19,13 +23,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm test
env:
MONGODB_URL_TEST: ${{ secrets.MONGODB_URL_TEST }}
JWT_ACCESS_SECRET: ${{ secrets.JWT_ACCESS_SECRET }}
JWT_REFRESH_SECRET: ${{ secrets.JWT_REFRESH_SECRET }}

0 comments on commit c8687ab

Please sign in to comment.