Skip to content

add git config

add git config #8

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]

Check failure on line 16 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
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: https://registry.npmjs.org
scope: '@felipecesr'
cache: 'yarn'
- run: yarn --frozen-lockfile
- run: yarn release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}