Skip to content

add npmrc

add npmrc #18

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: git config user.name github-actions[bot]
- run: git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Use Node.js
uses: actions/setup-node@v4
with:
always-auth: true
node-version: '20.x'
registry-url: registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
scope: '@felipecesr'
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}