Skip to content

Commit

Permalink
ci: update quality checks
Browse files Browse the repository at this point in the history
  • Loading branch information
xseman committed Aug 11, 2024
1 parent f72c97c commit af3e803
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: tests
name: quality checks

on:
pull_request:
branches:
- master
push:
branches:
- master
- master/*
paths:
- src/**.ts
- package.json
Expand All @@ -22,3 +24,14 @@ jobs:
- run: |
npm install --silent
npm test
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- run: |
npm install --silent
npm run fmt:check
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"prebuild": "tsc --build --clean",
"build": "tsc --build",
"fmt": "dprint fmt",
"fmt:check": "dprint check",
"typecheck": "tsc --noEmit",
"version": "git checkout develop && npm test",
"postversion": "echo 'Now run npm run build && npm publish'",
Expand Down

0 comments on commit af3e803

Please sign in to comment.