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