Skip to content

Commit

Permalink
uprade lc39 and add publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebianchi committed May 11, 2023
1 parent 611d55d commit d556cfc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,14 @@ jobs:
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

publish:
runs-on: ubuntu-latest
needs: [build]
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- uses: actions/checkout@v3
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
access: 'public'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"dependencies": {
"@fastify/env": "^4.2.0",
"@fastify/formbody": "^7.0.0",
"@mia-platform/lc39": "^7.0.0-rc.2",
"@mia-platform/lc39": "^7.0.0",
"@types/node": "^18.15.3",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
Expand Down

0 comments on commit d556cfc

Please sign in to comment.