init release please
This commit is contained in:
parent
6a2584d800
commit
ab518a067e
28
.github/workflows/release-please.yml
vendored
Normal file
28
.github/workflows/release-please.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: Run Release Please
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release-please:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: google-github-actions/release-please-action@v2
|
||||||
|
id: release
|
||||||
|
with:
|
||||||
|
command: manifest
|
||||||
|
token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
default-branch: develop
|
||||||
|
|
||||||
|
# The logic below handles the npm publication:
|
||||||
|
- name: Checkout Repository
|
||||||
|
if: ${{ steps.release.outputs.releases_created }}
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
if: ${{ steps.release.outputs.releases_created }}
|
||||||
|
with:
|
||||||
|
node-version: 16
|
||||||
|
registry-url: 'https://registry.yarnpkg.com/'
|
1
.release-please-manifest.json
Normal file
1
.release-please-manifest.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{}
|
|
@ -7,7 +7,8 @@
|
||||||
"lint:all": "prettier --check . && cd packages/squiggle-lang && yarn lint:rescript"
|
"lint:all": "prettier --check . && cd packages/squiggle-lang && yarn lint:rescript"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prettier": "^2.7.1"
|
"prettier": "^2.7.1",
|
||||||
|
"release-please": "^13.19.6"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
|
|
15
release-please-config.json
Normal file
15
release-please-config.json
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"bootstrap-sha": "6a2584d800a4274da4ef3d792067e9cb83ea775b",
|
||||||
|
"bump-patch-for-minor-pre-major": true,
|
||||||
|
"release-type": "node",
|
||||||
|
"packages": {
|
||||||
|
"packages/squiggle-lang": {},
|
||||||
|
"packages/components": {},
|
||||||
|
"packages/website": {},
|
||||||
|
"packages/vscode-ext": {},
|
||||||
|
"packages/cli": {}
|
||||||
|
},
|
||||||
|
"skip-github-release": true,
|
||||||
|
"commit-search-depth": 50,
|
||||||
|
"plugins": ["node-workspace"]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user