diff --git a/.github/workflows/check-a11y-of-changed-content.yaml b/.github/workflows/check-a11y-of-changed-content.yaml index 217c8a478..520c2d04b 100644 --- a/.github/workflows/check-a11y-of-changed-content.yaml +++ b/.github/workflows/check-a11y-of-changed-content.yaml @@ -2,7 +2,6 @@ name: Check accessibility of changed content on: pull_request: - types: [opened, synchronize, reopened] permissions: contents: read diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 046271140..4d5bc3c8e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,9 +1,6 @@ name: Lint Posts on: - push: - branches: - - '**' # Runs on pushes to all branches pull_request: branches: - 'gh-pages' # Runs when a PR targets the gh-pages branch @@ -19,11 +16,5 @@ jobs: with: node-version: 20.x cache: npm - - name: Run install - uses: borales/actions-yarn@v5.0.0 - with: - cmd: install - - name: Run lint - uses: borales/actions-yarn@v5.0.0 - with: - cmd: lint + - run: npm ci + - run: npm run lint