Skip to content

Commit

Permalink
Publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlanz committed Aug 6, 2020
1 parent 0d34d6d commit db4da08
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
- name: Checkout Code
uses: actions/checkout@v2
- name: Create Release
id: create_release
Expand All @@ -20,11 +20,12 @@ jobs:
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- uses: actions/setup-node@v1
- name: Publish Package
uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit db4da08

Please sign in to comment.