mirror of
https://github.com/changesets/action
synced 2026-10-26 16:39:56 +08:00
Switch to Changesets-based release process (#118)
* Switch to Changesets-based release process * Bump version * drop unused variable * Update .github/workflows/version-or-publish.yml Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com> * Push also to a release line branch when releasing * Change node version used in the version-or-publish workflow * Switch to using the local action Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com> * build the action before trying to use it the workflow * Add changeset and actually setup Changesets, lol Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>
This commit is contained in:
co-authored by
Nicola Molinari
parent
21240c3cd1
commit
05c863d3f9
+10
-8
@@ -1,11 +1,12 @@
|
||||
{
|
||||
"name": "@changesets/action",
|
||||
"version": "0.1.0",
|
||||
"version": "1.0.0",
|
||||
"main": "dist/index.js",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.9.1",
|
||||
"@changesets/write": "^0.1.3",
|
||||
"@changesets/changelog-github": "^0.4.1",
|
||||
"@changesets/cli": "^2.18.0",
|
||||
"@changesets/write": "^0.1.5",
|
||||
"fixturez": "^1.1.0",
|
||||
"parcel": "^1.12.3",
|
||||
"prettier": "^2.0.5",
|
||||
@@ -14,11 +15,14 @@
|
||||
"scripts": {
|
||||
"build": "parcel build ./src/index.ts --no-source-maps --target=node --bundle-node-modules",
|
||||
"test": "jest",
|
||||
"test:watch": "yarn test --watch"
|
||||
"test:watch": "yarn test --watch",
|
||||
"changeset": "changeset",
|
||||
"version": "node ./scripts/version.js",
|
||||
"release": "node ./scripts/release.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.2.4",
|
||||
"@actions/exec": "^1.0.4",
|
||||
"@actions/exec": "^1.1.0",
|
||||
"@actions/github": "^4.0.0",
|
||||
"@babel/core": "^7.13.10",
|
||||
"@babel/preset-env": "^7.13.10",
|
||||
@@ -42,9 +46,7 @@
|
||||
"unified": "^8.3.2"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "yarn build && git add dist/index.js"
|
||||
}
|
||||
"hooks": {}
|
||||
},
|
||||
"prettier": {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user