diff --git a/.github/workflows/principal-patch.yml b/.github/workflows/principal-patch.yml index c6fbb40a..2a3345de 100644 --- a/.github/workflows/principal-patch.yml +++ b/.github/workflows/principal-patch.yml @@ -14,15 +14,23 @@ jobs: - name: Checkout Repository uses: actions/checkout@v2 - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '14' + - 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: Install Dependencies - run: npm install --no-save + # - name: Set up Node.js + # uses: actions/setup-node@v3 + # with: + # node-version: '14' - - name: Release Package - run: npx release-it --ci --npm.authToken=${{ secrets.NPM_AUTH_TOKEN }} - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + # - 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 }}