From b426bb087a66e2d4b0292729295adc0f8580c04c Mon Sep 17 00:00:00 2001 From: Yasser Tahiri Date: Sat, 17 Feb 2024 00:31:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Update=20lint=20command=20to=20f?= =?UTF-8?q?ormat:check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/codeql-analysis.yml | 48 --------------------------- .github/workflows/default.yml | 2 +- 2 files changed, 1 insertion(+), 49 deletions(-) delete mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index 6ad7cb6..0000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: CodeQL - -on: - push: - branches: - - main - pull_request: - branches: - - main - schedule: - - cron: '31 7 * * 3' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - - permissions: - actions: read - checks: write - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: - - TypeScript - - steps: - - name: Checkout - id: checkout - uses: actions/checkout@v4 - - - name: Initialize CodeQL - id: initialize - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} - source-root: src - - - name: Autobuild - id: autobuild - uses: github/codeql-action/autobuild@v3 - - - name: Perform CodeQL Analysis - id: analyze - uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 5bf1f54..c240034 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -19,7 +19,7 @@ jobs: restore-keys: | ${{ runner.os }}-node- - run: npm install - - run: npm run lint + - run: npm run format:check - run: npm run test # run action on a clean machine without building to check that it works as expected