diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 77de294..4e9200e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,5 +30,8 @@ jobs: - name: Set up node_modules run: npm ci + - name: Build + run: npm run build --if-present + - name: Lint run: npm run lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8c0f1ff..eafe128 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: - name: Set up node_modules run: npm ci - - name: Build test + - name: Build run: npm run build --if-present - name: Test and test coverage