Skip to content

Commit

Permalink
feat: setup npm release from ci
Browse files Browse the repository at this point in the history
  • Loading branch information
doomsower committed Jan 22, 2024
1 parent 78d438e commit 1678eed
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release

on:
push:
branches:
- 'master'

env:
CI: true

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{
"name": "@uniswap/governance",
"version": "1.0.2",
"name": "@gearbox-protocol/timelock",
"version": "0.0.0",
"description": "🏛 Governance contracts for the Uniswap protocol",
"author": "Noah Zinsmeister",
"license": "MIT",
"files": [
"build"
"contracts"
],
"scripts": {
"precompile": "rimraf ./build/",
"compile": "waffle",
"pretest": "yarn compile",
"test": "mocha",
"lint": "prettier ./test/**/*.ts --check",
"prepublishOnly": "yarn test"
"lint": "prettier ./test/**/*.ts --check"
},
"devDependencies": {
"@types/chai": "^4.2.12",
Expand All @@ -29,4 +28,4 @@
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
}
}
}

0 comments on commit 1678eed

Please sign in to comment.