ci: add codestyle ci (#1149)
parent
bed23c62f5
commit
0debb59474
|
@ -0,0 +1,18 @@
|
|||
name: codestyle
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: ['*']
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.x
|
||||
- run: yarn
|
||||
- run: yarn format
|
||||
- run: yarn lint
|
Loading…
Reference in New Issue