From 9d295da7bec67f0df7b77cd89a370d41ce566ef7 Mon Sep 17 00:00:00 2001 From: Matheus sampaio Queiroga Date: Sun, 18 Jul 2021 03:21:45 -0300 Subject: [PATCH 1/2] Create node.js.yml --- .github/workflows/node.js.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..1002000 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,22 @@ +# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: [push, pull_request] + +jobs: + Test: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [14.x, 15.x, 16.x] + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm install -d --no-save + - run: npm test -- 2.49.0 From 1a4916cd2de282244ca04148b12dc296fdc09f30 Mon Sep 17 00:00:00 2001 From: Matheus sampaio Queiroga Date: Sun, 18 Jul 2021 03:25:27 -0300 Subject: [PATCH 2/2] Update and rename node.js.yml to package_test.yml --- .github/workflows/{node.js.yml => package_test.yml} | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) rename .github/workflows/{node.js.yml => package_test.yml} (57%) diff --git a/.github/workflows/node.js.yml b/.github/workflows/package_test.yml similarity index 57% rename from .github/workflows/node.js.yml rename to .github/workflows/package_test.yml index 1002000..fcf4766 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/package_test.yml @@ -1,8 +1,4 @@ -# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - -name: Node.js CI - +name: Test - The Bds Maneger Core on: [push, pull_request] jobs: -- 2.49.0