Skip to content

Commit

Permalink
fix: npm run lint should be run after npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ksw2000 authored Nov 25, 2024
1 parent 579c3e2 commit cd0a20f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 20
- name: lint
run: npm run lint
- name: build
run: |
npm ci
npm run lint
npx ng add angular-cli-ghpages --skip-confirmation
npx ng build --base-href=/${{ github.event.repository.name }}/
- name: commit and push
Expand All @@ -37,11 +36,10 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
- name: lint
run: npm run lint
- name: build
run: |
npm ci
npm run lint
npx ng add angular-cli-ghpages --skip-confirmation
npx ng build --base-href=/2024/
- name: Deploy to Firebase Hosting
Expand Down

0 comments on commit cd0a20f

Please sign in to comment.