Skip to content

Commit

Permalink
ci: create remote config and version file before try to build
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossantos74 committed Sep 13, 2024
1 parent 77c1b17 commit 0f847a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 -
Expand Down

0 comments on commit 0f847a4

Please sign in to comment.