Skip to content

Commit

Permalink
Add autopublish action
Browse files Browse the repository at this point in the history
  • Loading branch information
mkreiser committed Sep 2, 2023
1 parent 2e8c068 commit d7daca8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/autopublish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Autopublish
on:
push:
branches:
- main

jobs:
test:
name: Publish NPM Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
run: npm ci
- name: Publish
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
check-version: true

0 comments on commit d7daca8

Please sign in to comment.