From 33a91fb31cb364b5d97961617f24b799a0d205c0 Mon Sep 17 00:00:00 2001 From: "wangziyuan.12" Date: Tue, 9 Jan 2024 23:01:31 -0500 Subject: [PATCH] feature: add ci testing for cms --- .github/workflows/core_cms_tests.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/core_cms_tests.yml diff --git a/.github/workflows/core_cms_tests.yml b/.github/workflows/core_cms_tests.yml new file mode 100644 index 0000000..325636a --- /dev/null +++ b/.github/workflows/core_cms_tests.yml @@ -0,0 +1,22 @@ +name: core cms tests + +on: [push, pull_request] + +jobs: + build-and-test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + + - name: Install dependencies + run: npm install + working-directory: ./@core/cms/ + + - name: Run tests + run: npm test + working-directory: ./@core/cms/ \ No newline at end of file