From a673aff2024536e84906b33d479ba79fad0d37fe Mon Sep 17 00:00:00 2001 From: Chris Pietschmann Date: Fri, 15 Mar 2024 14:20:31 -0400 Subject: [PATCH] Mode app to subfolder for better organization --- ...st-app-nodejs.yml => test-app-nodejs-simple.yml} | 8 ++++---- app/{ => nodejs/simple}/api/v1.js | 0 app/{ => nodejs/simple}/api/v2.js | 0 app/{ => nodejs/simple}/app.js | 0 app/{ => nodejs/simple}/package.json | 0 .../simple}/static/images/build5nines-logo.jpg | Bin .../simple}/static/images/github-mark.svg | 0 app/{ => nodejs/simple}/static/index.html | 0 app/{ => nodejs/simple}/swagger.js | 0 app/{ => nodejs/simple}/test/test-webapp.js | 0 app/{ => nodejs/simple}/test/test.js | 0 11 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{test-app-nodejs.yml => test-app-nodejs-simple.yml} (74%) rename app/{ => nodejs/simple}/api/v1.js (100%) rename app/{ => nodejs/simple}/api/v2.js (100%) rename app/{ => nodejs/simple}/app.js (100%) rename app/{ => nodejs/simple}/package.json (100%) rename app/{ => nodejs/simple}/static/images/build5nines-logo.jpg (100%) rename app/{ => nodejs/simple}/static/images/github-mark.svg (100%) rename app/{ => nodejs/simple}/static/index.html (100%) rename app/{ => nodejs/simple}/swagger.js (100%) rename app/{ => nodejs/simple}/test/test-webapp.js (100%) rename app/{ => nodejs/simple}/test/test.js (100%) diff --git a/.github/workflows/test-app-nodejs.yml b/.github/workflows/test-app-nodejs-simple.yml similarity index 74% rename from .github/workflows/test-app-nodejs.yml rename to .github/workflows/test-app-nodejs-simple.yml index 7a1cc0d..a19bdc4 100644 --- a/.github/workflows/test-app-nodejs.yml +++ b/.github/workflows/test-app-nodejs-simple.yml @@ -1,12 +1,12 @@ -name: Test App - Node.js +name: Test App - Node.js - Simple on: push: paths: - - 'app/**' + - 'app/nodejs/simple/**' pull_request: paths: - - 'app/**' + - 'app/nodejs/simple/**' workflow_dispatch: jobs: @@ -17,7 +17,7 @@ jobs: defaults: run: shell: bash - working-directory: 'app' + working-directory: 'app/nodejs/simple' steps: - name: Checkout diff --git a/app/api/v1.js b/app/nodejs/simple/api/v1.js similarity index 100% rename from app/api/v1.js rename to app/nodejs/simple/api/v1.js diff --git a/app/api/v2.js b/app/nodejs/simple/api/v2.js similarity index 100% rename from app/api/v2.js rename to app/nodejs/simple/api/v2.js diff --git a/app/app.js b/app/nodejs/simple/app.js similarity index 100% rename from app/app.js rename to app/nodejs/simple/app.js diff --git a/app/package.json b/app/nodejs/simple/package.json similarity index 100% rename from app/package.json rename to app/nodejs/simple/package.json diff --git a/app/static/images/build5nines-logo.jpg b/app/nodejs/simple/static/images/build5nines-logo.jpg similarity index 100% rename from app/static/images/build5nines-logo.jpg rename to app/nodejs/simple/static/images/build5nines-logo.jpg diff --git a/app/static/images/github-mark.svg b/app/nodejs/simple/static/images/github-mark.svg similarity index 100% rename from app/static/images/github-mark.svg rename to app/nodejs/simple/static/images/github-mark.svg diff --git a/app/static/index.html b/app/nodejs/simple/static/index.html similarity index 100% rename from app/static/index.html rename to app/nodejs/simple/static/index.html diff --git a/app/swagger.js b/app/nodejs/simple/swagger.js similarity index 100% rename from app/swagger.js rename to app/nodejs/simple/swagger.js diff --git a/app/test/test-webapp.js b/app/nodejs/simple/test/test-webapp.js similarity index 100% rename from app/test/test-webapp.js rename to app/nodejs/simple/test/test-webapp.js diff --git a/app/test/test.js b/app/nodejs/simple/test/test.js similarity index 100% rename from app/test/test.js rename to app/nodejs/simple/test/test.js