Skip to content

Commit

Permalink
feat: add semantic release (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
zg3d authored Dec 7, 2020
1 parent 196abab commit 7950195
Show file tree
Hide file tree
Showing 5 changed files with 21,996 additions and 1,301 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/npm-publish.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release npm package

on:
push:
branches:
- master

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
## Install

```sh
npm i -g https://github.com/zg3d/fireLinker
npm i -g firelinker
```

## Usage
Expand Down
Loading

0 comments on commit 7950195

Please sign in to comment.