From 85a68357482268696be32b0d7f8d67ab6309bbd3 Mon Sep 17 00:00:00 2001 From: garronej Date: Thu, 13 Oct 2022 12:10:08 +0200 Subject: [PATCH] Fix CI --- .github/workflows/ci.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 773d16a4..4f26b082 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,13 +16,12 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 - uses: bahmutov/npm-install@v1 - - name: If this step fails run 'npm run lint' and 'npm run format' then commit again. + - name: If this step fails run 'yarn format' then commit again. run: | PACKAGE_MANAGER=npm if [ -f "./yarn.lock" ]; then PACKAGE_MANAGER=yarn fi - $PACKAGE_MANAGER run lint:check $PACKAGE_MANAGER run format:check test: runs-on: ${{ matrix.os }}