Skip to content

teste ci

teste ci #4

name: Release
on:
push:
branches:
- principal
- action-publish
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Instalar Dependências
run: npm ci
- name: Inicializa NPM
run: npm config set //registry.npmjs.org/:_authToken $NPM_AUTH_TOKEN
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
# - name: Set up Node.js
# uses: actions/setup-node@v3
# with:
# node-version: '14'
# - name: Install Dependencies
# run: npm install --no-save
# - name: Release Package
# run: npx release-it --ci --npm.authToken=${{ secrets.NPM_AUTH_TOKEN }}
# env:
# NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}