From 64c1e6f5aceaf1e22c9ae168439912015cf8242d Mon Sep 17 00:00:00 2001 From: John Steban Lopez <104475729+JohnGolgota@users.noreply.github.com> Date: Tue, 28 Nov 2023 22:29:51 -0500 Subject: [PATCH 1/4] Create node.js.yml --- .github/workflows/node.js.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..46b55eb --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,29 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Node.js CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x, 16.x, 18.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: node main.js From 918afd697f4777f7dd481160149973f9d8430ba7 Mon Sep 17 00:00:00 2001 From: John Steban Lopez <104475729+JohnGolgota@users.noreply.github.com> Date: Wed, 29 Nov 2023 03:34:26 +0000 Subject: [PATCH 2/4] say --- package-lock.json | 13 +++++++++++++ package.json | 11 +++++++++++ 2 files changed, 24 insertions(+) create mode 100644 package-lock.json create mode 100644 package.json diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..fa1a4ba --- /dev/null +++ b/package-lock.json @@ -0,0 +1,13 @@ +{ + "name": "oholera", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "oholera", + "version": "1.0.0", + "license": "ISC" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..d8e1a7a --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "oholera", + "version": "1.0.0", + "description": "Hello World", + "main": "main.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC" +} From fb41c882dc3dd9a8b9af284f182f80c9ec79b299 Mon Sep 17 00:00:00 2001 From: John Steban Lopez <104475729+JohnGolgota@users.noreply.github.com> Date: Wed, 29 Nov 2023 03:38:27 +0000 Subject: [PATCH 3/4] Que bemdiciom --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 46b55eb..ac08dca 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: From da09fc042b60a002fe6bada65e26b40721f26351 Mon Sep 17 00:00:00 2001 From: John Steban Lopez <104475729+JohnGolgota@users.noreply.github.com> Date: Wed, 29 Nov 2023 03:40:12 +0000 Subject: [PATCH 4/4] DIOOOOOSSS --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index ac08dca..46b55eb 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [14.x, 16.x, 18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: