Skip to content

Commit

Permalink
CI 💪💪
Browse files Browse the repository at this point in the history
  • Loading branch information
iMrDJAi committed May 1, 2021
1 parent 17c5615 commit dc309fe
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish to NPM

on:
release:
types: [created]

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Setup .npmrc file
uses: actions/setup-node@v2
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- name: Publish!
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

0 comments on commit dc309fe

Please sign in to comment.