From 52ad35246d671749b566e8da3a60696a3889a555 Mon Sep 17 00:00:00 2001 From: giuseppe-coinbase <138020133+giuseppe-coinbase@users.noreply.github.com> Date: Wed, 6 Dec 2023 10:06:42 -0500 Subject: [PATCH] [chore] enabled test and build steps in ci (#21) Signed-off-by: Giuseppe Macri --- .github/actions/setup/action.yml | 15 +++++++++------ .github/pull_request_template.md | 22 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 .github/pull_request_template.md diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 44f6b13..a741ac1 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -21,12 +21,15 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: 'npm' + cache: 'yarn' - name: Install dependencies - run: npm install - # - name: Lint Check - # # When fails, please run "npm run lint" to your code - # run: npm run lint + run: yarn install - name: Format Check # When fails, please run "yarn format:fix" to your code - run: npm run format + run: yarn format + - name: Test + # When fails, please fix tests + run: yarn test + - name: Build + # When fails, please validate build steps + run: yarn build diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..693fcc3 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,22 @@ +## Description + +Please provide a description of your PR and which issue it fixes. +If this PR is a work in progress, please prefix the title with [WIP]. + +## Type of change +- [] Bug fix (non-breaking change which fixes an issue) +- [] New feature (non-breaking change which adds functionality) +- [] Breaking change (fix or feature that would cause existing functionality to not work as expected) +- [] Refactor (refactoring production code or docs) +- [] Test (adding missing tests or fixing existing tests) +- [] Other (please describe): + +## Checklist +- [] unit tests + +## Update example files +If you have updated the example files, please provide a screenshot of the changes (if appropriate). + + + +