mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
build: make sure to cache bust tsup config changes in all packages
This commit is contained in:
1
.github/workflows/search-indicies.yml
vendored
1
.github/workflows/search-indicies.yml
vendored
@@ -44,5 +44,6 @@ jobs:
|
||||
- name: Upload search indicies to meilisearch
|
||||
env:
|
||||
DATABASE_URL: ${{ secrets.DATABASE_URL }}
|
||||
SEARCH_API_URL: ${{ secrets.SEARCH_API_URL }}
|
||||
SEARCH_API_KEY: ${{ secrets.SEARCH_API_KEY }}
|
||||
uses: ./packages/actions/src/uploadSearchIndicies
|
||||
|
||||
@@ -2,15 +2,15 @@ import process from 'node:process';
|
||||
import { setFailed } from '@actions/core';
|
||||
import { generateAllIndices } from '@discordjs/scripts';
|
||||
import { connect } from '@planetscale/database';
|
||||
import MeiliSearch from 'meilisearch';
|
||||
import { MeiliSearch } from 'meilisearch';
|
||||
import { fetch } from 'undici';
|
||||
|
||||
if (!process.env.DATABASE_URL) {
|
||||
setFailed('DATABASE_URL is not set');
|
||||
}
|
||||
|
||||
if (!process.env.SEARCH_API) {
|
||||
setFailed('SEARCH_API is not set');
|
||||
if (!process.env.SEARCH_API_URL) {
|
||||
setFailed('SEARCH_API_URL is not set');
|
||||
}
|
||||
|
||||
if (!process.env.SEARCH_API_KEY) {
|
||||
|
||||
@@ -36,7 +36,8 @@
|
||||
"package.json",
|
||||
"tsconfig.docs.json",
|
||||
"tsconfig.eslint.json",
|
||||
"tsconfig.json"
|
||||
"tsconfig.json",
|
||||
"tsup.config.ts"
|
||||
],
|
||||
"outputs": ["dist/**/*"],
|
||||
"outputMode": "errors-only"
|
||||
@@ -52,7 +53,8 @@
|
||||
"src/template/**/*",
|
||||
"package.json",
|
||||
"tsconfig.eslint.json",
|
||||
"tsconfig.json"
|
||||
"tsconfig.json",
|
||||
"tsup.config.ts"
|
||||
],
|
||||
"outputs": ["dist/**/*"],
|
||||
"outputMode": "errors-only"
|
||||
@@ -257,6 +259,7 @@
|
||||
"package.json",
|
||||
"tsconfig.eslint.json",
|
||||
"tsconfig.json",
|
||||
"tsup.config.ts",
|
||||
"vite.config.ts"
|
||||
],
|
||||
"outputs": [],
|
||||
@@ -310,6 +313,7 @@
|
||||
"package.json",
|
||||
"tsconfig.eslint.json",
|
||||
"tsconfig.json",
|
||||
"tsup.config.ts",
|
||||
"vite.config.ts"
|
||||
],
|
||||
"outputs": [],
|
||||
|
||||
Reference in New Issue
Block a user