Skip to content

chore(release): 4.5.5 #210

chore(release): 4.5.5

chore(release): 4.5.5 #210

Workflow file for this run

name: CI
on:
push:
branches: [main, dev, 'feat/**', 'fix/**', 'chore/**']
pull_request:
branches: [main, dev]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npm test
integration:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
cache: npm
- run: npm ci
- name: Run integration tests (Lightning + Cashu)
run: npm run test:integration
deploy-jokes:
needs: integration
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- name: Deploy sats-for-laughs to jokes.trotters.dev
uses: appleboy/ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2 # v1.2.5
with:
host: 95.217.39.110
username: deploy
key: ${{ secrets.DEPLOY_SSH_KEY }}
script: /opt/sats-for-laughs/deploy.sh