Skip to content

Commit

Permalink
fixing release
Browse files Browse the repository at this point in the history
  • Loading branch information
gagoar committed Sep 10, 2020
1 parent d7c4432 commit f41a81f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create Release for NPM
name: Create Release

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
release:
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -16,12 +16,21 @@ jobs:
node-version: "12.x"
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

github:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "12.x"
registry-url: "https://npm.pkg.github.com"
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f41a81f

Please sign in to comment.