Skip to content

Commit

Permalink
github action.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradgarropy committed May 29, 2020
1 parent 9068be7 commit 1e3ed87
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "πŸš€ release"

on:
release:
types: [published]

jobs:
release:
name: "πŸš€ release"
runs-on: ubuntu-latest
steps:
- name: "πŸ“š checkout"
uses: actions/[email protected]
- name: "🟒 node"
uses: actions/[email protected]
with:
node-version: 12
registry-url: https://registry.npmjs.org
- name: "πŸš€ publish"
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

0 comments on commit 1e3ed87

Please sign in to comment.