add lint + prettier check before test
This commit is contained in:
parent
f437d976f8
commit
67ad82d52e
2 changed files with 12 additions and 9 deletions
15
.github/workflows/test.yml
vendored
15
.github/workflows/test.yml
vendored
|
|
@ -10,10 +10,11 @@ jobs:
|
|||
node-version: [18]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: "npm"
|
||||
- run: npm install
|
||||
- run: npm run check
|
||||
- run: npm test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue