Migrate to npm
Some checks failed
Deploy To Production / build (push) Successful in 37s
Deploy To Production / deploy (push) Failing after 14s

This commit is contained in:
Ethan Lane 2024-04-28 16:19:16 +01:00
parent f7f304d1f4
commit 13dd2558f2
25 changed files with 9170 additions and 5060 deletions

View file

@ -17,9 +17,9 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 18.x
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn test
- run: npm ci
- run: npm run build
- run: npm test
- name: RSync to server
uses: https://github.com/D3rHase/rsync-deploy-action@v0.2
@ -69,5 +69,5 @@ jobs:
&& (pm2 delete vylbot_prod || true) \
&& docker compose up -d \
&& sleep 10 \
&& yarn run db:up \
&& npm run db:up \
&& pm2 start --name vylbot_prod dist/vylbot.js