Skip to content

Commit

Permalink
Add lint to CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Sep 12, 2023
1 parent 7894ffb commit a85e8dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
run: pnpm install
if: steps.node-cache.outputs.cache-hit != 'true'

- name: Lint
run: pnpm lint

- name: Publish to npm
env:
GH_TOKEN: ${{ github.token }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm lint

- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit a85e8dc

Please sign in to comment.