debug
This commit is contained in:
@@ -22,11 +22,11 @@ jobs:
|
||||
# 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'
|
||||
# # ## 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
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
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
|
||||
# sed -i '/function setup_chatwoot() {/a sudo chown -R chatwoot:chatwoot /home/runner/.config' install.sh
|
||||
|
||||
- name: create input file
|
||||
run: |
|
||||
@@ -65,13 +65,13 @@ jobs:
|
||||
|
||||
- name: check node/yarn inside chatwoot
|
||||
run: |
|
||||
sudo -i -u chatwoot
|
||||
sudo -i -u chatwoot << EOF
|
||||
ls
|
||||
cd chatwoot
|
||||
node --version
|
||||
yarn --versio
|
||||
yarn
|
||||
exit
|
||||
EOF
|
||||
if: always()
|
||||
- name: Setup tmate session
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
|
||||
Reference in New Issue
Block a user