diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82e3fcb4..5cde6e15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,13 +1,13 @@ -name: 'build-test' +name: "build" on: - push: + push: branches: - main pull_request: - types: [opened, synchronize, reopened] + types: [opened, synchronize, reopened] jobs: - build: + build: runs-on: ubuntu-latest strategy: matrix: @@ -16,12 +16,12 @@ jobs: - uses: actions/checkout@b56e6a3d768b11aef1d4c73977caf6413c0d74c8 # v3.2.0 with: fetch-depth: 0 - + - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1 with: node-version: ${{ matrix.node-version }} - name: Install dependencies - run: yarn install --ignore-engines + run: yarn install - name: Check format and lint run: yarn run format-check && yarn run lint diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2d124a62..c9a5eff9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,12 +2,11 @@ name: 'Code scanning' on: push: - branches: [ develop, main ] + branches: [ main ] pull_request: # The branches below must be a subset of the branches above - branches: [ develop ] - schedule: - - cron: '0 22 * * 0' + branches: [ main ] + jobs: CodeQL-Build: