diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1ef0b1b3..0b262070 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,20 @@ env: npm_config_cache: /tmp/npm-cache jobs: + lint: + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - name: "Checkout code" + uses: actions/checkout@v4 + - name: "Use Node.js" + uses: actions/setup-node@v4 + with: + node-version: 'lts/*' + - run: npm install + + - run: npm run lint + unit-tests: runs-on: ubuntu-latest strategy: @@ -31,7 +45,6 @@ jobs: path: ${{ env.npm_config_cache }} - run: npm install - - run: npm run lint - run: npm run test-unit integration-tests: