From 9db27cd3bba11a579d7a5edecde02d544f5d617d Mon Sep 17 00:00:00 2001 From: Nuwan Jaliyagoda Date: Fri, 1 Sep 2023 23:37:31 +0530 Subject: [PATCH] Syntax fix --- .github/workflows/npm-test.yml | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 8180347..b1a790b 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -19,9 +19,6 @@ jobs: node-version: [16.x] timeout-minutes: 6 - with: - MQTT_HOST: ${{ secrets.MQTT_HOST }} - PORT: ${{ secrets.MQTT_HOST }} steps: - uses: actions/checkout@v3 @@ -29,15 +26,15 @@ jobs: 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