chore(deps): update dependency @commitlint/cli to v19.3.0 (#60) #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: push | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Install dependencies and Build app | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: corepack enable | |
- name: Set Node.js 18.20.1 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.20.1 | |
cache: yarn | |
- run: yarn install | |
- run: yarn prepare | |
- run: yarn typecheck | |
- run: yarn lint | |
- run: yarn build | |
deploy_dev: | |
needs: | |
- build | |
if: github.ref == 'refs/heads/develop' | |
name: Deploy Dev | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v4 | |
- name: Deploy | |
uses: appleboy/ssh-action@v1.0.3 | |
with: | |
host: ${{vars.DEPLOY_SSH_HOST}} | |
username: ${{vars.DEPLOY_SSH_USERNAME}} | |
key: ${{secrets.DEPLOY_SSH_KEY_DEV}} | |
port: 2222 | |
script: | | |
echo -n 'Deployment started at: ' && | |
date -u && | |
cd ${{vars.DEPLOY_SSH_PATH}} && | |
git fetch && | |
git checkout -f origin/develop && | |
docker-compose build && | |
docker-compose up -d && | |
echo -n 'Deployment completed at: ' && | |
date -u |