From c9af759aea25a7018a4772ef4199a0564e47aba4 Mon Sep 17 00:00:00 2001 From: Mystic <215104920@qq.com> Date: Thu, 29 Aug 2024 13:21:14 +0800 Subject: [PATCH] ci(ts): use npm command instead of make --- .../.github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/template/ts/{{cookiecutter.project_slug}}/.github/workflows/ci.yml b/template/ts/{{cookiecutter.project_slug}}/.github/workflows/ci.yml index e6e020a..17344d4 100644 --- a/template/ts/{{cookiecutter.project_slug}}/.github/workflows/ci.yml +++ b/template/ts/{{cookiecutter.project_slug}}/.github/workflows/ci.yml @@ -33,12 +33,11 @@ jobs: node-version: ${{ matrix.node }} # cache: "npm" - - name: Init dependencies - run: make init - - name: Build - run: make build + run: | + npm i + npm run build - - name: Run tests - run: make test + - name: Test + run: npm test {% endraw %}