From 2ab2239d7174415771cb043e46ab9ecd0cbbf368 Mon Sep 17 00:00:00 2001 From: JC <62057991+ljc1991@users.noreply.github.com> Date: Mon, 9 Oct 2023 14:21:33 +0800 Subject: [PATCH] add test --- .github/workflows/build-test-deploy.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index 1f81157..8c5e3a3 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -12,3 +12,15 @@ jobs: node-version: '18.x' - run: npm install - run: npm run build + test: + needs: build + runs-on: ubuntu-latest + steps: + - name: checkout repo + uses: actions/checkout@v3 + - name: use node.js + uses: actions/setup-node@v3 + with: + node-version: '18.x' + - run: npm install + - run: npm test