Skip to content

Commit

Permalink
enable ci-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mahendraHegde committed May 30, 2024
1 parent 48803ac commit 5a7ebfe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,16 @@ jobs:
# restore-keys: |
# ${{ runner.os }}-pnpm-store-

# - name: Install
# run: pnpm install --frozen-lockfile --strict-peer-dependencies
# - run: pnpm build
# - run: pnpm lint
# - run: pnpm prettier
# - run: pnpm test:cov
- name: install
run: pnpm install --frozen-lockfile --strict-peer-dependencies
- name: build
run: pnpm build
- name: lint
run: pnpm lint
- name: format
run: pnpm prettier
- name: test
run: pnpm test:cov

# - name: Update Coverage Badge
# if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "pnpm --filter @node-idempotency/* test",
"test:e2e": "pnpm --filter @node-idempotency/* test:e2e",
"test:cov": "pnpm --filter @node-idempotency/* test:e2e --coverage --coverageReporters=\"json-summary\"",
"lint": "eslint -v",
"lint": "eslint packages/**/*.ts",
"prettier": "prettier -c .",
"lint:fix": "eslint packages/**/*.ts --fix",
"format": "prettier --write .",
Expand Down

0 comments on commit 5a7ebfe

Please sign in to comment.