Skip to content

Commit

Permalink
chore(ci): skip tests for release-please publish flow (#3027)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah authored Jul 29, 2021
1 parent 8b30015 commit 883943b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- name: Install site dependencies
run: npm run site:build:install
if: ${{ steps.release.outputs.release_created }}
- name: Install core dependencies
run: npm ci --no-audit
- run: npm publish
if: ${{ steps.release.outputs.release_created }}
env:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"url": "https://github.com/netlify/cli/issues"
},
"scripts": {
"prepublishOnly": "npm ci --no-audit && run-s test",
"prepublishOnly": "run-s prepublishOnly:*",
"prepublishOnly:test": "run-local \"npm test\"",
"start": "node ./bin/run",
"test": "run-s format test:dev",
"format": "run-s format:check-fix:*",
Expand Down

1 comment on commit 883943b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 331 MB

Please sign in to comment.