types(GuildInvitableChannelResolvable): Allow forum channels #4696
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
pull_request: | |
concurrency: | |
# Group based on workflow name and PR if it exists, if no PR, let it run so carryforward flags work | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install node.js v18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
uses: ./packages/actions/src/yarnCache | |
- name: Build dependencies (PR) | |
if: ${{ github.event_name != 'push' }} | |
run: yarn build --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" | |
- name: Build dependencies (Push) | |
if: ${{ github.event_name == 'push' }} | |
run: yarn build --filter="...[HEAD^1]" | |
- name: ESLint (PR) | |
if: ${{ github.event_name != 'push' }} | |
run: yarn lint --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" -- --format=compact | |
- name: ESLint (Push) | |
if: ${{ github.event_name == 'push' }} | |
run: yarn lint --filter="...[HEAD^1]" -- --format=compact | |
- name: Tests (PR) | |
if: ${{ github.event_name != 'push' }} | |
run: yarn test --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" | |
- name: Tests (Push) | |
if: ${{ github.event_name == 'push' }} | |
run: yarn test --filter="...[HEAD^1]" | |
- name: Docs (PR) | |
if: ${{ github.event_name != 'push' }} | |
run: yarn docs --filter="...[origin/${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }}]" | |
- name: Docs (Push) | |
if: ${{ github.event_name == 'push' }} | |
run: yarn docs --filter="...[HEAD^1]" | |
- name: Upload Coverage | |
if: github.repository_owner == 'discordjs' | |
uses: ./packages/actions/src/uploadCoverage |