Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use npm-release-management-orb for circle builds #98

Merged
merged 2 commits into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 2.1

orbs:
release-management: salesforce/npm-release-management@4

workflows:
version: 2
test-and-release:
jobs:
- release-management/test-package:
matrix:
parameters:
os:
- linux
- windows
node_version:
- latest
- lts
exclude:
- os: windows
node_version: lts
- release-management/release-package:
node_version: "14"
github-release: true
requires:
- release-management/test-package
filters:
branches:
only: master
26 changes: 0 additions & 26 deletions .github/workflows/ci.yml

This file was deleted.

1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"

yarn run commitlint --edit $1
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']}
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"tslib": "^2"
},
"devDependencies": {
"@commitlint/config-conventional": "^12.1.4",
"@oclif/dev-cli": "^1",
"@oclif/plugin-help": "^3",
"@oclif/test": "^1.2.7",
Expand All @@ -23,10 +24,12 @@
"@types/node": "^14",
"@types/semver": "^7.3.6",
"chai": "^4",
"commitlint": "^12.1.4",
"eslint": "^7",
"eslint-config-oclif": "^3.1",
"eslint-config-oclif-typescript": "^0.2",
"globby": "^11",
"husky": "6",
"mocha": "^8",
"nyc": "^15",
"ts-node": "^9",
Expand All @@ -39,6 +42,7 @@
"/lib",
"/npm-shrinkwrap.json",
"/oclif.manifest.json",
"/schemas",
"/yarn.lock"
],
"homepage": "https://github.com/oclif/plugin-command-snapshot",
Expand All @@ -52,6 +56,9 @@
"topics": {
"snapshot": {
"description": "generates and compares OCLIF plugins snapshot files"
},
"schema": {
"description": "generates and compares OCLIF plugins schema files"
}
},
"devPlugins": [
Expand All @@ -61,6 +68,7 @@
"repository": "oclif/plugin-command-snapshot",
"scripts": {
"build": "rm -rf lib && tsc -b",
"commitlint": "commitlint",
"postpack": "rm -f oclif.manifest.json",
"posttest": "eslint . --ext .ts --config .eslintrc",
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
Expand Down
Loading