Skip to content

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Ezequiel Fabbroni Assum committed Dec 20, 2024
1 parent 68c2a1f commit ad07122
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,8 @@ on:

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- run: yarn build
- run: npm publish --tag ${{ inputs.tag }}
env:
NODE_AUTH_TOKEN: ${{ secrets.token }}
uses: cabify/javascript-actions/.github/workflows/npm_publish.yml@main
with:
tag: ${{ contains(github.ref_name,'beta') && 'beta' || 'latest' }}
secrets:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit ad07122

Please sign in to comment.