From 0f847a434aaa4de8f48c98e6fce2b1c578ed5e15 Mon Sep 17 00:00:00 2001 From: Carlos Date: Fri, 13 Sep 2024 15:03:41 -0300 Subject: [PATCH] ci: create remote config and version file before try to build --- .github/workflows/checks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 0d896db..8252a1b 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -37,10 +37,10 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Create a .version.js file run: | - touch .version.js && echo "echo \"export const version = 'test'\" > .version.js" | bash - + touch packages/realtime/.version.js && echo "echo \"export const version = 'test'\" > .version.js" | bash - - name: Create a .remote-config.js file run: | - touch .remote-config.js && echo "echo \"module.exports = { remoteConfig: { apiUrl: 'https://dev.nodeapi.superviz.com' }};\" > .remote-config.js" | bash - + touch packages/realtime/.remote-config.js && echo "echo \"module.exports = { remoteConfig: { apiUrl: 'https://dev.nodeapi.superviz.com' }};\" > .remote-config.js" | bash - - name: Run tests run: pnpm run build test-unit-realtime: @@ -66,7 +66,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Create a .version.js file run: | - touch .version.js && echo "echo \"export const version = 'test'\" > .version.js" | bash - + touch packages/realtime/.version.js && echo "echo \"export const version = 'test'\" > .version.js" | bash - - name: Create a .remote-config.js file run: | touch .remote-config.js && echo "echo \"module.exports = { remoteConfig: { apiUrl: 'https://dev.nodeapi.superviz.com' }};\" > .remote-config.js" | bash -