From 2683e1d06bf7fc01c1098cce6d763e23c4b7c756 Mon Sep 17 00:00:00 2001 From: su-min484 <85155408+su-min484@users.noreply.github.com> Date: Wed, 1 Sep 2021 22:33:06 +0900 Subject: [PATCH 1/2] setup CI --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..596b7dc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: Node.js Web App CI +on: push + +jobs: + lint_and_test: + name: Lint and Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14.x + - run: npm ci + - run: npm run lint + build: + name: Docker Build + needs: [lint_and_test] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: docker build . \ No newline at end of file From acaa52bb7e3a5198a6e707fb8c66df3f3ae145c6 Mon Sep 17 00:00:00 2001 From: su-min484 <85155408+su-min484@users.noreply.github.com> Date: Wed, 1 Sep 2021 23:33:56 +0900 Subject: [PATCH 2/2] change commend --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e69a89c..f5e3494 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ const fizzbuzz = require("./lib/fizzbuzz"); const app = express(); app.get("/", (req, res) => { - res.send("Hello, World!\n"); + res.send("Hello, beautiful World!\n"); }); app.get("/fizzbuzz", (req, res) => {