Skip to content

Commit

Permalink
Updating app files
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsislimadev committed Jun 30, 2024
1 parent e03b613 commit 16b14ab
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,24 @@ name: Publish NPM

on:
push:
branches:
- 'main'
schedule:
- cron: '50 23 * * *'
workflow_dispatch:

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/

- run: npm login --scope=@brtmvdl --auth-type=legacy --registry=https://npm.pkg.github.com
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

0 comments on commit 16b14ab

Please sign in to comment.