Skip to content

Commit f583ad4

Browse files
joeyguerraJoey Guerra
and
Joey Guerra
authored
chore: remove travis. run coverage (#19)
* chore: remove travis. run coverage * chore: on pull request and push to main * feat: Semantic release --------- Co-authored-by: Joey Guerra <joey@joeyguerra.com>
1 parent 03b590f commit f583ad4

File tree

3 files changed

+18
-19
lines changed

3 files changed

+18
-19
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
push:
44
branches:
55
- main
6+
pull_request:
7+
branches:
8+
- main
69
permissions:
710
contents: read
811
jobs:
@@ -28,4 +31,9 @@ jobs:
2831
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
2932
run: npm audit signatures
3033
- name: Run Tests
31-
run: npm test
34+
run: npm run coverage
35+
- name: Release
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
39+
run: npx semantic-release

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"hubot-scripts"
1313
],
1414
"engines": {
15-
"node": "> 16.20.2",
16-
"npm": "> 8.19.4"
15+
"node": ">= 18",
16+
"npm": ">= 9"
1717
},
1818
"repository": {
1919
"type": "git",
@@ -33,5 +33,12 @@
3333
},
3434
"devDependencies": {
3535
"standard": "^17.1.0"
36+
},
37+
"release": {
38+
"branches": [
39+
"main",
40+
"next"
41+
],
42+
"dryRun": false
3643
}
3744
}

0 commit comments

Comments
 (0)