Skip to content

Commit

Permalink
chore: adapt commands on CI for npm workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Sep 21, 2021
1 parent 762b576 commit d395a94
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
- run: npm i -g npm@7
- run: npm i
- run: npm run lint
- run: npm run lint
working-directory: ./gatsby-image-gallery
- run: npm run lint --workspace gatsby-image-gallery

commitlint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -48,10 +47,8 @@ jobs:

- run: npm i -g npm@7
- run: npm i
- run: npm run build
working-directory: ./gatsby-image-gallery
- run: npm run test --ci --coverage --maxWorkers=2
working-directory: ./gatsby-image-gallery
- run: npm run build --workspace gatsby-image-gallery
- run: npm run test --ci --coverage --maxWorkers=2 --workspace gatsby-image-gallery

publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit d395a94

Please sign in to comment.