Skip to content

Commit

Permalink
updated: CI node versions and postpublish script
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Nov 29, 2024
1 parent 3e311c7 commit 81c6c4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [18.x, 19.x]
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"lint": "eslint src test && npx prettier --check ./",
"build": "rollup -c",
"samples": "node ./test/samples.js",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"postpublish": "git push && git push --tags"
},
"files": [
"index.js",
Expand Down

0 comments on commit 81c6c4c

Please sign in to comment.