Skip to content

Commit

Permalink
build: configure for automated publication and actions (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed May 6, 2020
1 parent d98cd46 commit 89ea67c
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 18 deletions.
2 changes: 2 additions & 0 deletions .github/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
project: oss-automation
secretId: node-tooling
2 changes: 2 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
releaseType: node
handleGHRelease: true
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -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
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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"
},
Expand Down

0 comments on commit 89ea67c

Please sign in to comment.