Skip to content

Commit

Permalink
ci: workaround for faster npm ci npm/cli#2011
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmasberg committed May 9, 2023
1 parent e80de02 commit e356d58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: mkdir node_modules && npm ci

- uses: nrwl/nx-set-shas@v3
- name: Check Formatting
run: |
if [[ $(npx nx format:check) ]]; then
npx prettier -w . || true
npx prettier -w .
git diff --color | cat
exit 1
fi
Expand Down

0 comments on commit e356d58

Please sign in to comment.