Skip to content

Commit

Permalink
Merge pull request #11 from spoonconsulting/bump-to-1.0.3
Browse files Browse the repository at this point in the history
Bump Version to 1.0.3
  • Loading branch information
zfir authored Dec 1, 2022
2 parents 37393c9 + aea44d9 commit 821b14a
Show file tree
Hide file tree
Showing 4 changed files with 9,039 additions and 30 deletions.
35 changes: 7 additions & 28 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,12 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Node.js Package

on:
release:
types: [created]

on: push
jobs:
build:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v2
- uses: bahmutov/npm-install@v1
- id: publish
uses: JS-DevTools/npm-publish@v1
with:
node-version: 16
- run: npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
token: ${{ secrets.npm_token }}
Loading

0 comments on commit 821b14a

Please sign in to comment.