From 84dce089f8cf4544675abee9f82bfa69b6eaf3fc Mon Sep 17 00:00:00 2001 From: Sustainability and Tech <39064649+TechandEco@users.noreply.github.com> Date: Tue, 23 Jan 2024 19:33:46 +0000 Subject: [PATCH] check on build and lint as separate workflow --- .github/workflows/build.yml | 1 + .github/workflows/{check.yml => lint.yml} | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{check.yml => lint.yml} (94%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95d3e55..14e4ae4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,4 +35,5 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm ci + - run: npm run check - run: npm run build diff --git a/.github/workflows/check.yml b/.github/workflows/lint.yml similarity index 94% rename from .github/workflows/check.yml rename to .github/workflows/lint.yml index bec7c67..faa8239 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: check +name: lint on: push: @@ -24,7 +24,7 @@ on: workflow_dispatch: # Manual runs jobs: - typecheck: + lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -33,4 +33,3 @@ jobs: node-version: 20 - run: npm ci - run: npm run lint - - run: npm run check