Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 1 addition & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,11 @@
name: Build artifact and package
name: Build and Release Pakage

on:
release:
types: [released]
workflow_dispatch:

jobs:
artifact:
runs-on: ubuntu-22.04
steps:
- name: Checkout source code
uses: actions/checkout@v3

- name: Cache build frontend
uses: actions/cache@v3
id: cache-build-frontend
with:
path: apps/frontend
key: ${{ runner.os }}-frontend-${{ github.sha }}

- name: Cache build backend
uses: actions/cache@v3
id: cache-build-backend
with:
path: apps/backend
key: ${{ runner.os }}-backend-${{ github.sha }}

- name: Compress files
run: tar -czf /tmp/clnapp.tar.gz apps/frontend/build apps/backend/dist package.json package-lock.json

- uses: actions/upload-artifact@v4
with:
name: clnapp-build$VERSION
path: /tmp/clnapp.tar.gz

build:
name: Build image
runs-on: ubuntu-22.04
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ application-cln.log
.commando
release
env-local.sh
apps/frontend/build
apps/backend/dist
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@
tar -xzf v0.0.1.tar.gz
```

- ### Dependency Installation
- ### Dependency Installation and Compile

```
cd cln-application-0.0.1
npm install --force --omit=dev
npm install
npm run build
npm prune --omit=dev
```

- ### Environment Variables
Expand Down
118 changes: 0 additions & 118 deletions apps/backend/dist/controllers/auth.js

This file was deleted.

42 changes: 0 additions & 42 deletions apps/backend/dist/controllers/lightning.js

This file was deleted.

97 changes: 0 additions & 97 deletions apps/backend/dist/controllers/shared.js

This file was deleted.

42 changes: 0 additions & 42 deletions apps/backend/dist/models/errors.js

This file was deleted.

1 change: 0 additions & 1 deletion apps/backend/dist/models/showrunes.type.js

This file was deleted.

18 changes: 0 additions & 18 deletions apps/backend/dist/routes/v1/auth.js

This file was deleted.

Loading