Skip to content

Commit

Permalink
move environments to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshurajora committed Dec 14, 2023
1 parent ed0d747 commit 21a75ef
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 @@ -9,10 +9,14 @@ on:
pull_request:
branches: ["main"]

env:
YOURLS_USERNAME: ${{ vars.YOURLS_USERNAME }}
YOURLS_PASSWORD: ${{vars.YOURLS_PASSWORD}}
YOURLS_SERVER_URL: ${{vars.YOURLS_SERVER_URL}}

jobs:
build:
runs-on: ubuntu-latest
environment: Test

strategy:
matrix:
Expand All @@ -22,10 +26,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
env:
YOURLS_USERNAME: ${{ vars.YOURLS_USERNAME }}
YOURLS_PASSWORD: ${{vars.YOURLS_PASSWORD}}
YOURLS_SERVER_URL: ${{vars.YOURLS_SERVER_URL}}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
Expand Down

0 comments on commit 21a75ef

Please sign in to comment.