Skip to content

Commit

Permalink
(ci) missing NPM step
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Jun 3, 2024
1 parent 4f4ce1b commit efeed65
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/coveritup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit efeed65

Please sign in to comment.