Skip to content

build(deps): bump eslint-plugin-unicorn from 55.0.0 to 56.0.0 (#157) #107

build(deps): bump eslint-plugin-unicorn from 55.0.0 to 56.0.0 (#157)

build(deps): bump eslint-plugin-unicorn from 55.0.0 to 56.0.0 (#157) #107

Workflow file for this run

name: Run publish
# Controls when the action will run.
on:
# Triggers the workflow on push event but only for the master branch
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
publish:
# The type of runner that the job will run on
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
# The type of node version that the job will run on
strategy:
matrix:
node-version: [18.x]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Use node
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
# Set env secrets
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
node-version: ${{ matrix.node-version }}
registry-url: https://npm.pkg.github.com
scope: "@msobiecki"
# Run version bump step
- name: Run version bump
id: changelog
uses: TriPSs/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
skip-on-empty: false
# Run release step
- name: Run release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
# Run install step
- run: npm ci
# Run publish step
- name: Run publish
uses: JS-DevTools/npm-publish@v1
with:
registry: https://npm.pkg.github.com/
token: ${{ secrets.GITHUB_TOKEN }}