Skip to content

Commit

Permalink
Syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NuwanJ-RhinoPartners committed Sep 1, 2023
1 parent 7a31ef9 commit 9db27cd
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/npm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,22 @@ jobs:
node-version: [16.x]

timeout-minutes: 6
with:
MQTT_HOST: ${{ secrets.MQTT_HOST }}
PORT: ${{ secrets.MQTT_HOST }}

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: "Install dependencies"
run: npm ci
- name: "Build"
run: npm run build --if-present

- name: "Test"
env:
MQTT_HOST: ${{ secrets.MQTT_HOST }}
PORT: ${{ secrets.MQTT_HOST }}
run: npm run test

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build --if-present

- name: Test
env:
MQTT_HOST: ${{ secrets.MQTT_HOST }}
PORT: ${{ secrets.MQTT_HOST }}
run: npm run test

0 comments on commit 9db27cd

Please sign in to comment.