Skip to content

fix: nodejs libs should not contain source maps, bump to v0.0.17 #37

fix: nodejs libs should not contain source maps, bump to v0.0.17

fix: nodejs libs should not contain source maps, bump to v0.0.17 #37

Workflow file for this run

name: publish to npm
on:
push:
branches:
- main
jobs:
cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache
with:
path: |
~/.npm
node_modules
key: node-${{ hashFiles('**/package-lock.json') }}'
- run: npm ci
if: steps.cache.outputs.cache-hit != 'true'
push-to-npm:
runs-on: ubuntu-latest
needs: cache
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
id: cache
with:
path: |
~/.npm
node_modules
key: node-${{ hashFiles('**/package-lock.json') }}'
- run: npm ci
if: steps.cache.outputs.cache-hit != 'true'
- run: npm run build
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./dist/libs/stripe/package.json
check-version: false