mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
16
.github/workflows/tests.yml
vendored
16
.github/workflows/tests.yml
vendored
@@ -35,14 +35,6 @@ jobs:
|
|||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
run: pnpm exec turbo run build --filter="...[HEAD^1]" --concurrency=4
|
run: pnpm exec turbo run build --filter="...[HEAD^1]" --concurrency=4
|
||||||
|
|
||||||
- name: ESLint (PR)
|
|
||||||
if: ${{ github.event_name != 'push' }}
|
|
||||||
run: pnpm exec turbo run lint --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" --concurrency=4 -- --format=compact
|
|
||||||
|
|
||||||
- name: ESLint (Push)
|
|
||||||
if: ${{ github.event_name == 'push' }}
|
|
||||||
run: pnpm exec turbo run lint --filter="...[HEAD^1]" --concurrency=4 -- --format=compact
|
|
||||||
|
|
||||||
- name: Tests (PR)
|
- name: Tests (PR)
|
||||||
if: ${{ github.event_name != 'push' }}
|
if: ${{ github.event_name != 'push' }}
|
||||||
run: pnpm exec turbo run test --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" --concurrency=4
|
run: pnpm exec turbo run test --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" --concurrency=4
|
||||||
@@ -51,6 +43,14 @@ jobs:
|
|||||||
if: ${{ github.event_name == 'push' }}
|
if: ${{ github.event_name == 'push' }}
|
||||||
run: pnpm exec turbo run test --filter="...[HEAD^1]" --concurrency=4
|
run: pnpm exec turbo run test --filter="...[HEAD^1]" --concurrency=4
|
||||||
|
|
||||||
|
- name: ESLint (PR)
|
||||||
|
if: ${{ github.event_name != 'push' }}
|
||||||
|
run: pnpm exec turbo run lint --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" --concurrency=4 -- --format=compact
|
||||||
|
|
||||||
|
- name: ESLint (Push)
|
||||||
|
if: ${{ github.event_name == 'push' }}
|
||||||
|
run: pnpm exec turbo run lint --filter="...[HEAD^1]" --concurrency=4 -- --format=compact
|
||||||
|
|
||||||
- name: Docs (PR)
|
- name: Docs (PR)
|
||||||
if: ${{ github.event_name != 'push' }}
|
if: ${{ github.event_name != 'push' }}
|
||||||
run: pnpm exec turbo run docs --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" --concurrency=4
|
run: pnpm exec turbo run docs --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" --concurrency=4
|
||||||
|
|||||||
Reference in New Issue
Block a user