Skip to content

Commit

Permalink
Release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kostysh committed Jun 24, 2020
1 parent 717796b commit c15a2bd
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- master
tags:
- '**'
jobs:
npm-publish:
name: npm-publish
Expand All @@ -16,13 +18,21 @@ jobs:
with:
node-version: 10.x

- name: Publish
uses: pascalgn/npm-publish-action@1.2.0
with:
tag_name: "v%s"
tag_message: "v%s"
commit_pattern: "^Release (\\S+)"
- name: Install Dependencies
run: npm ci

- name: Create package build
run: npm run build

# - name: Publish
# uses: pascalgn/npm-publish-action@1.2.0
# with:
# tag_name: "v%s"
# tag_message: "v%s"
# commit_pattern: "^Release (\\S+)"

- name: Publish
run: npm publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NPM_EMAIL: ${{ secrets.NPM_EMAIL }}
NPM_API_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit c15a2bd

Please sign in to comment.