Skip to content

Commit

Permalink
add pr-check script back to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie committed Sep 30, 2020
1 parent 0123ca2 commit ba9f1bc
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,23 @@ jobs:
- attach_workspace:
at: ~/auto
- run: *lint
- run:
name: Release
command: yarn auto pr-check --url $CIRCLE_PULL_REQUEST

pr-check:
<<: *defaults
steps:
- attach_workspace:
at: ~/auto
- run:
name: Check for SemVer Label
command: |
if [ ! -z "$CIRCLE_PR_NUMBER" ]; then
yarn auto pr-check --url $CIRCLE_PULL_REQUEST
else
echo "No pull request, not checking for semver label"
fi
test:
<<: *defaults
Expand Down Expand Up @@ -100,6 +117,10 @@ workflows:
requires:
- install

- pr-check:
requires:
- build

- lint:
requires:
- build
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
],
"scripts": {
"clean": "lerna clean --yes && rimraf node_modules '+(packages|plugins)/**/+(dist|tsconfig.tsbuildinfo)'",
"semver:check": "./scripts/post-install.sh",
"build": "tsc -b tsconfig.dev.json",
"start": "npm run build -- --watch",
"lint": "eslint packages plugins --ext .ts --cache",
Expand Down
5 changes: 0 additions & 5 deletions scripts/post-install.sh

This file was deleted.

0 comments on commit ba9f1bc

Please sign in to comment.