Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release

on:
push:
branches:
- master

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Install dependencies
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm i
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# [1.3.0](https://github.com/webtorrent/http-node/compare/v1.2.0...v1.3.0) (2022-01-14)


### Bug Fixes

* add semantic release config ([c524325](https://github.com/webtorrent/http-node/commit/c524325db9efdf082760ebf01c672863cfea87a1))


### Features

* webtorrent org, semantic release ([65665fd](https://github.com/webtorrent/http-node/commit/65665fddc31bb12883702d8ac2b4743be1da0f4c))
16 changes: 13 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
{
"name": "http-node",
"version": "1.2.0",
"name": "@webtorrent/http-node",
"version": "1.3.0",
"description": "Node.js http as a standalone package",
"repository": {
"type": "git",
"url": "git://github.com/jscissr/http-node.git"
"url": "git://github.com/webtorrent/http-node.git"
},
"main": "http.js",
"license": "MIT",
"chromeapp": {
"net": "chrome-net"
},
"dependencies": {
"freelist": "^1.0.3",
"http-parser-js": "^0.4.3"
},
"author": {
"name": "Jan Schär",
"email": "[email protected]"
},
"devDependencies": {
"@webtorrent/semantic-release-config": "^1.0.7",
"semantic-release": "^18.0.1"
},
"release": {
"extends": "@webtorrent/semantic-release-config"
}
}