build: make sure to cache bust tsup config changes in all packages

This commit is contained in:
iCrawl
2023-11-07 16:41:15 +01:00
parent c39c94374a
commit 6a6c4bdcae
3 changed files with 10 additions and 5 deletions

View File

@@ -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) {