Commit b64bcd33 authored by Georgios Konstantopoulos's avatar Georgios Konstantopoulos Committed by GitHub

Automated versioning using ChangeSets (#442)

* feat: install changesets

* chore: yarn changeset init

* chore: add l2geth to the workspace so it can be seen by changeset

* ci: add changeset release PR github action

https://github.com/changesets/action

* chore: set l2geth version to 0.2.0
parent 04fa3991
# Changesets
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
{
"$schema": "https://unpkg.com/@changesets/config@1.6.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"linked": [],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": []
}
name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Setup Node.js 12.x
uses: actions/setup-node@master
with:
node-version: 12.x
- name: Install Dependencies
run: yarn
- name: Create Release Pull Request
uses: changesets/action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
{
"name": "@eth-optimism/l2geth",
"version": "0.2.0"
}
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"license": "MIT", "license": "MIT",
"workspaces": [ "workspaces": [
"packages/*", "packages/*",
"l2geth",
"integration-tests" "integration-tests"
], ],
"private": true, "private": true,
...@@ -11,12 +12,15 @@ ...@@ -11,12 +12,15 @@
"lerna": "^4.0.0" "lerna": "^4.0.0"
}, },
"scripts": { "scripts": {
"clean": "yarn lerna run clean", "clean": "yarn lerna run clean",
"build": "yarn lerna run build", "build": "yarn lerna run build",
"test": "yarn lerna run test --parallel", "test": "yarn lerna run test --parallel",
"test:ci": "yarn lerna run test --parallel --since origin/master", "test:ci": "yarn lerna run test --parallel --since origin/master",
"lint": "yarn lerna run lint", "lint": "yarn lerna run lint",
"lint:ci": "yarn lerna run lint --parallel --since origin/master", "lint:ci": "yarn lerna run lint --parallel --since origin/master",
"lint:fix": "yarn lerna run lint:fix" "lint:fix": "yarn lerna run lint:fix"
},
"dependencies": {
"@changesets/cli": "^2.16.0"
} }
} }
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment