move from npm to yarn in automation deployment config

This commit is contained in:
Ishan Jain 2021-09-08 22:59:37 +05:30
parent 0392b69aef
commit 96f5c2b5a0

View File

@ -21,7 +21,7 @@ jobs:
cd ${{ secrets.REMOTE_TARGET }} && \ cd ${{ secrets.REMOTE_TARGET }} && \
git reset --hard && git clean -df && \ git reset --hard && git clean -df && \
git pull && \ git pull && \
npm i && \ yarn install && \
npm run build --if-present && \ yarn build --if-present && \
npm run generate --if-present && \ yarn generate --if-present && \
pm2 restart assembly --update-env pm2 restart assembly --update-env