Skip to content

Commit

Permalink
ci(npm): reactived npm release
Browse files Browse the repository at this point in the history
  • Loading branch information
thecreazy committed Jan 23, 2021
1 parent 1884dad commit 0938f75
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Create Npm Release

on:
push:
tags:
- "v*"

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Install dependencies with node
uses: actions/setup-node@v1
with:
node-version: 13.7
- run: yarn install
- run: yarn test
- run: yarn build
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
tag: ${{ github.ref }}
access: public
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cerbero",
"version": "0.0.2",
"version": "0.0.5",
"description": "Tracking your users interations ",
"main": "dist/cerbero.js",
"module": "dist/cerbero.esm.js",
Expand Down

0 comments on commit 0938f75

Please sign in to comment.