mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 23:24:42 +12:00
ci: check for shared additionally to packages
This commit is contained in:
parent
1211c7fc10
commit
90e7aea443
4 changed files with 37 additions and 17 deletions
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
|
@ -32,7 +32,6 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: yarn.lock
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn --immutable
|
||||
|
@ -84,7 +83,6 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: yarn.lock
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn --immutable
|
||||
|
|
1
.github/workflows/npm-auto-deprecate.yml
vendored
1
.github/workflows/npm-auto-deprecate.yml
vendored
|
@ -17,7 +17,6 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: yarn.lock
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn --immutable
|
||||
|
|
1
.github/workflows/publish-dev.yml
vendored
1
.github/workflows/publish-dev.yml
vendored
|
@ -36,7 +36,6 @@ jobs:
|
|||
node-version: 16
|
||||
registry-url: https://registry.npmjs.org/
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: yarn.lock
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn --immutable
|
||||
|
|
50
.github/workflows/tests.yml
vendored
50
.github/workflows/tests.yml
vendored
|
@ -14,18 +14,43 @@ jobs:
|
|||
id: filter
|
||||
with:
|
||||
filters: |
|
||||
'@discordjs/actions': 'packages/actions'
|
||||
'@discordjs/builders': 'packages/builders'
|
||||
'@discordjs/collection': 'packages/collection'
|
||||
'discord.js': 'packages/discord.js'
|
||||
'@discordjs/docgen': 'packages/docgen'
|
||||
'@discordjs/proxy': 'packages/proxy'
|
||||
'@discordjs/proxy-container': 'packages/proxy-container'
|
||||
'@discordjs/rest': 'packages/rest'
|
||||
'@discordjs/scripts': 'packages/scripts'
|
||||
'@discordjs/voice': 'packages/voice'
|
||||
'@discordjs/website': 'packages/website'
|
||||
'@discordjs/ws': 'packages/ws'
|
||||
shared: &shared
|
||||
- '!(packages)**'
|
||||
'@discordjs/actions':
|
||||
- *shared
|
||||
- 'packages/actions'
|
||||
'@discordjs/builders':
|
||||
- *shared
|
||||
- 'packages/builders'
|
||||
'@discordjs/collection':
|
||||
- *shared
|
||||
- 'packages/collection'
|
||||
'discord.js':
|
||||
- 'packages/discord.js'
|
||||
'@discordjs/docgen':
|
||||
- *shared
|
||||
- 'packages/docgen'
|
||||
'@discordjs/proxy':
|
||||
- *shared
|
||||
- 'packages/proxy'
|
||||
'@discordjs/proxy-container':
|
||||
- *shared
|
||||
- 'packages/proxy-container'
|
||||
'@discordjs/rest':
|
||||
- *shared
|
||||
- 'packages/rest'
|
||||
'@discordjs/scripts':
|
||||
- *shared
|
||||
- 'packages/scripts'
|
||||
'@discordjs/voice':
|
||||
- *shared
|
||||
- 'packages/voice'
|
||||
'@discordjs/website':
|
||||
- *shared
|
||||
- 'packages/website'
|
||||
'@discordjs/ws':
|
||||
- *shared
|
||||
- 'packages/ws'
|
||||
|
||||
tests:
|
||||
name: Tests
|
||||
|
@ -43,7 +68,6 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: yarn.lock
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn workspaces focus ${{ matrix.package }}
|
||||
|
|
Loading…
Reference in a new issue