ci(github): remove yarn and check unchecked files
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
- run: yarn
|
- run: npm ci
|
||||||
- run: yarn lint
|
- run: npm run lint
|
||||||
- run: yarn build
|
- run: npm run build
|
||||||
- run: git diff --quiet || (echo 'workspace is dirty after rebuilding' ; git diff ; exit 1)
|
- run: if [ -n "$(git status --porcelain)" ]; then echo 'workspace is dirty after rebuilding' ; git status ; git diff ; exit 1 ; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user