Skip to content

Commit

Permalink
Removed dist, added publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
w8r committed Apr 21, 2021
1 parent f48dee2 commit 02a6960
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 1,161 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,25 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- run: npm test

on:
push:
tags:
- 'v*.*.*'

jobs:
publish:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
- run: npm publish --access public
Loading

0 comments on commit 02a6960

Please sign in to comment.