Skip to content

chore(main): release 4.1.1 (#29) #14

chore(main): release 4.1.1 (#29)

chore(main): release 4.1.1 (#29) #14

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: '@atolye15/stylelint-config'
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"refactor","section":"Refactors","hidden":false}]'
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v3
if: ${{ steps.release.outputs.release_created }}
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- name: Install yarn packages
if: ${{ steps.release.outputs.release_created }}
run: yarn
- name: Publish
if: ${{ steps.release.outputs.release_created }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}