Skip to content

Commit

Permalink
Add npm publish github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanchez committed Jun 1, 2023
1 parent c8b575a commit 338c1fa
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .editorconfig

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
branches: [master]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18"
- run: npm install
- run: npm run lint
- run: npm test
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit 338c1fa

Please sign in to comment.