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:
metonym 2024-08-20 07:33:35 -07:00
commit fd41c8a269

View file

@ -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'