mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
ci: don't forward filter option
This commit is contained in:
16
.github/workflows/tests.yml
vendored
16
.github/workflows/tests.yml
vendored
@@ -26,35 +26,35 @@ jobs:
|
|||||||
|
|
||||||
- name: Build dependencies (PR)
|
- name: Build dependencies (PR)
|
||||||
if: ${{ github.event_name != 'push' }}
|
if: ${{ github.event_name != 'push' }}
|
||||||
run: yarn build -- --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]"
|
run: yarn build --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]"
|
||||||
|
|
||||||
- name: Build dependencies (Push)
|
- name: Build dependencies (Push)
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
run: yarn test -- --filter="...[HEAD^1]"
|
run: yarn build --filter="...[HEAD^1]"
|
||||||
|
|
||||||
- name: ESLint (PR)
|
- name: ESLint (PR)
|
||||||
if: ${{ github.event_name != 'push' }}
|
if: ${{ github.event_name != 'push' }}
|
||||||
run: yarn lint -- --format=compact --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]"
|
run: yarn lint --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" -- --format=compact
|
||||||
|
|
||||||
- name: ESLint (Push)
|
- name: ESLint (Push)
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
run: yarn lint -- --format=compact --filter="...[HEAD^1]"
|
run: yarn lint --filter="...[HEAD^1]" -- --format=compact
|
||||||
|
|
||||||
- name: Tests (PR)
|
- name: Tests (PR)
|
||||||
if: ${{ github.event_name != 'push' }}
|
if: ${{ github.event_name != 'push' }}
|
||||||
run: yarn test -- --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]"
|
run: yarn test --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]"
|
||||||
|
|
||||||
- name: Tests (Push)
|
- name: Tests (Push)
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
run: yarn test -- --filter="...[HEAD^1]"
|
run: yarn test --filter="...[HEAD^1]"
|
||||||
|
|
||||||
- name: Docs (PR)
|
- name: Docs (PR)
|
||||||
if: ${{ github.event_name != 'push' }}
|
if: ${{ github.event_name != 'push' }}
|
||||||
run: yarn docs -- --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]"
|
run: yarn docs --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]"
|
||||||
|
|
||||||
- name: Docs (Push)
|
- name: Docs (Push)
|
||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
run: yarn docs -- --filter="...[HEAD^1]"
|
run: yarn docs --filter="...[HEAD^1]"
|
||||||
|
|
||||||
- name: Upload Coverage
|
- name: Upload Coverage
|
||||||
if: github.repository_owner == 'discordjs'
|
if: github.repository_owner == 'discordjs'
|
||||||
|
|||||||
Reference in New Issue
Block a user