diff --git a/.github/publish.yml b/.github/publish.yml new file mode 100644 index 000000000..e933b632b --- /dev/null +++ b/.github/publish.yml @@ -0,0 +1,2 @@ +project: oss-automation +secretId: node-tooling diff --git a/.github/release-please.yml b/.github/release-please.yml new file mode 100644 index 000000000..3c0659977 --- /dev/null +++ b/.github/release-please.yml @@ -0,0 +1,2 @@ +releaseType: node +handleGHRelease: true diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 000000000..4b9d30996 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,35 @@ +on: + push: + branches: + - master + pull_request: +name: ci +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + node: [8, 10, 12, 14] + steps: + - uses: actions/checkout@v2 + - run: git fetch --prune --unshallow + - run: git config --global user.name 'Actions' + - run: git config --global user.email 'dummy@example.org' + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - run: node --version + - run: npm install + - run: npm test + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - run: git fetch --prune --unshallow + - run: git config --global user.name 'Actions' + - run: git config --global user.email 'dummy@example.org' + - uses: actions/setup-node@v1 + with: + node-version: 12 + - run: npm install + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6c05713ba..000000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: node_js -os: - - linux - - windows -node_js: - - "8" - - "10" - - "12" - - "node" -before_script: - - git config --global user.name 'Travis-CI' - - git config --global user.email 'dummy@example.org' -after_success: npm run coverage diff --git a/package.json b/package.json index 36938090b..287f0cacd 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "bin": "bin/cli.js", "scripts": { "posttest": "eslint .", - "coverage": "nyc report --reporter=text-lcov | coveralls", "test": "nyc mocha --timeout=30000 test.js", "release": "bin/cli.js" }, @@ -14,10 +13,7 @@ "tmp/**" ] }, - "repository": { - "type": "git", - "url": "git+https://github.com/conventional-changelog/standard-version.git" - }, + "repository": "conventional-changelog/standard-version", "engines": { "node": ">=8.0" },