From 812e16cf462018411b8520022bd1f169a7db21d3 Mon Sep 17 00:00:00 2001 From: aristidejou Date: Tue, 14 Feb 2023 16:53:36 -0600 Subject: [PATCH 1/2] jou changes --- .github/jou-integration.yml | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/jou-integration.yml diff --git a/.github/jou-integration.yml b/.github/jou-integration.yml new file mode 100644 index 0000000..a3388a4 --- /dev/null +++ b/.github/jou-integration.yml @@ -0,0 +1,49 @@ +# 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: [ "main" ] + pull_request: + branches: [ "main" ] + +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: npm i + - run: npm run build + + unit-tests: + + 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: npm i + - run: npm run test From 5cde761dcc8e7b313f9a4d94bab666c6e1f59362 Mon Sep 17 00:00:00 2001 From: aristidejou Date: Tue, 14 Feb 2023 17:02:16 -0600 Subject: [PATCH 2/2] jou changes1 --- .github/{ => workflows}/jou-integration.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{ => workflows}/jou-integration.yml (100%) diff --git a/.github/jou-integration.yml b/.github/workflows/jou-integration.yml similarity index 100% rename from .github/jou-integration.yml rename to .github/workflows/jou-integration.yml