From efeed65ad6796f2eed0044831372af76b5e7ae4f Mon Sep 17 00:00:00 2001 From: Pulkit Kathuria Date: Mon, 3 Jun 2024 22:08:21 +0900 Subject: [PATCH] (ci) missing NPM step --- .github/workflows/coveritup.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/coveritup.yml b/.github/workflows/coveritup.yml index bfc441c..764b100 100644 --- a/.github/workflows/coveritup.yml +++ b/.github/workflows/coveritup.yml @@ -22,6 +22,10 @@ jobs: - uses: kevincobain2000/action-gobrew@v2 with: version: ${{ matrix.go-version }} + - name: Setup Node.js ${{ matrix.node-versions }} + uses: actions/setup-node@v2 + with: + node-version: 20 - name: Install Tools run: | @@ -31,6 +35,20 @@ jobs: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest curl -sLk https://raw.githubusercontent.com/kevincobain2000/cover-totalizer/master/install.sh | sh + - name: NPM Install + uses: kevincobain2000/action-coveritup@v2 + with: + type: npm-install-time + command: cd api/pkg/frontend; npm install + record: runtime + + - name: NPM Build + uses: kevincobain2000/action-coveritup@v2 + with: + type: npm-build-time + command: cd api/pkg/frontend; npm run build + record: runtime + - run: go mod tidy - name: Lint Errors uses: kevincobain2000/action-coveritup@v2