Skip to content

Commit

Permalink
chore: remove travis. run coverage (#19)
Browse files Browse the repository at this point in the history
* chore: remove travis. run coverage

* chore: on pull request and push to main

* feat: Semantic release

---------

Co-authored-by: Joey Guerra <[email protected]>
  • Loading branch information
joeyguerra and Joey Guerra authored Sep 28, 2023
1 parent 03b590f commit f583ad4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
Expand All @@ -28,4 +31,9 @@ jobs:
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Run Tests
run: npm test
run: npm run coverage
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"hubot-scripts"
],
"engines": {
"node": "> 16.20.2",
"npm": "> 8.19.4"
"node": ">= 18",
"npm": ">= 9"
},
"repository": {
"type": "git",
Expand All @@ -33,5 +33,12 @@
},
"devDependencies": {
"standard": "^17.1.0"
},
"release": {
"branches": [
"main",
"next"
],
"dryRun": false
}
}

0 comments on commit f583ad4

Please sign in to comment.