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