Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
amandastecz committed Aug 12, 2023
2 parents d43d658 + b8218c3 commit c21980b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
push:
branches: [ main ]


workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup Nodejs
uses: actions/setup-node@v2
with:
node-version: 20

- name: Install dependencies
run: yarn

- name: Build
run: yarn build

- name: Copy file via ssh key
uses: appleboy/scp-action@v0.1.4
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
port: ${{ secrets.SSH_PORT }}
key: ${{ secrets.SSH_KEY }}
source: "., !node_modules"
target: test
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## Wiki
[For more information, check the project's wiki.](https://github.com/amandastecz/rentapi/wiki/)

## NodeJs - Rent API

This project is part of a series of personal studies on Node.js. This project is being developed with Typescript, applying principles of Clean Architecture and S.O.L.I.D, API Rest, import and reading of files in stream, communication with PostgreSQL database through TypeORM, containerization with Docker, refresh token with JWT authentication, in addition to all the API documentation with Swagger and automated tests at unit and integration level with Jest Framework.
Expand Down

0 comments on commit c21980b

Please sign in to comment.