mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
ci: split into steps, remove lint
The current lint script runs prettier on the codebase, but it does not error. Ideally, formatting should run in Git hooks and error in CI. For now, omit this step to speed up builds.
This commit is contained in:
parent
96cfb4be44
commit
fd41c8a269
1 changed files with 8 additions and 6 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -14,12 +14,14 @@ jobs:
|
|||
path: "**/node_modules"
|
||||
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: Install dependencies, build, test, and lint the codebase
|
||||
run: |
|
||||
npm install
|
||||
npm run build:lib
|
||||
npm run test:types
|
||||
npm run lint
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Build the codebase
|
||||
run: npm run build:lib
|
||||
|
||||
- name: Test types
|
||||
run: npm run test:types
|
||||
|
||||
- name: Trigger deploy
|
||||
if: github.ref == 'refs/heads/master'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue