Compare commits

...
Author SHA1 Message Date
Vishnu NarayananandGitHub 6f9cc72ecf debug 2024-06-05 18:57:23 +05:30
Vishnu NarayananandGitHub a92779cfc7 debug 2024-06-05 18:38:53 +05:30
Vishnu NarayananandGitHub c3c2355748 debug 2024-06-05 18:36:04 +05:30
Vishnu NarayananandGitHub 326e8991c2 debug 2024-06-05 18:29:25 +05:30
Vishnu NarayananandGitHub f975073c30 debug 2024-06-05 18:23:03 +05:30
Vishnu NarayananandGitHub f7397daa0e debug 2024-06-05 18:11:50 +05:30
Vishnu NarayananandGitHub c815dbca41 debug 2024-06-05 18:09:29 +05:30
Vishnu NarayananandGitHub a8a2d6c96f debug 2024-06-05 17:53:21 +05:30
Vishnu NarayananandGitHub e29239ebe5 debug 2024-06-05 17:44:11 +05:30
Vishnu NarayananandGitHub 6810595c31 Update nightly_installer.yml 2024-05-31 22:07:18 +05:30
Vishnu NarayananandGitHub 1b5a69e45e debug 2024-05-31 21:49:09 +05:30
Vishnu NarayananandGitHub 69c8336698 debug 2024-05-31 15:51:58 +05:30
Vishnu NarayananandGitHub 7b0221be1e debug 2024-05-30 19:34:05 +05:30
Vishnu NarayananandGitHub 352de8ee03 Update nightly_installer.yml 2024-05-30 13:56:49 +05:30
Vishnu NarayananandGitHub b68f0e523f fix: nightly gh action build failure
- nightly gh action is failing due to mismatched node version
2024-05-30 13:51:58 +05:30
+34 -2
View File
@@ -16,15 +16,34 @@ on:
jobs:
nightly:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# if: always()
# ## temporary fix for gh actions since node 20 installed via script is not taking effect till 30june2024
# # ## https://github.blog/changelog/2024-05-17-updated-dates-for-actions-runner-using-node20-instead-of-node16-by-default
# - name: Setup Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '20'
- name: check node version
run: |
node --version
which node
- name: check yarn version
run: |
yarn --version
which yarn
- name: get installer
run: |
wget https://get.chatwoot.app/linux/install.sh
chmod +x install.sh
#fix for postgtres not starting automatically in gh action env
sed -i '/function configure_db() {/a sudo service postgresql start' install.sh
#sed -i '/function setup_chatwoot() {/a export PATH="/usr/bin/:$PATH"' install.sh
#sed -i '/git checkout "\$BRANCH"/a export PATH="/usr/bin/:$PATH"' install.sh
# sed -i '/function setup_chatwoot() {/a sudo chown -R chatwoot:chatwoot /home/runner/.config' install.sh
- name: create input file
run: |
@@ -44,6 +63,19 @@ jobs:
# sudo systemctl restart chatwoot.target
# curl http://localhost:3000/api
- name: check node/yarn inside chatwoot
run: |
sudo -i -u chatwoot << EOF
ls
cd chatwoot
node --version
yarn --versio
yarn
EOF
if: always()
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: always()
- name: Upload chatwoot setup log file as an artifact
uses: actions/upload-artifact@v4
if: always()