Skip to content

Commit

Permalink
testing publish in npm
Browse files Browse the repository at this point in the history
  • Loading branch information
includeDaniel committed Jul 29, 2023
1 parent dd8f9cc commit 82fca47
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Publish'

on:
release:
types: [published]

jobs:
release:
name: Publish
runs-on: ubuntu-latest
steps:
- name: 📚 checkout
uses: actions/checkout@v3
- name: 🟢 node
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org
- name: Installing Dependencies
run: npm install
- name: Build
run: npm run build
- name: 🚀 publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

0 comments on commit 82fca47

Please sign in to comment.