Skip to content

chore(release): version bump (#10) #6

chore(release): version bump (#10)

chore(release): version bump (#10) #6

Workflow file for this run

name: Release
on:
push:
branches: [main]
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
# prevents this action from running on forks
if: github.repository == 'nodge/eslint-plugin-handle-errors'
permissions:
contents: write # to create release
issues: write # to post issue comments
pull-requests: write # to create pull request
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- name: Install deps
run: npm ci
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
title: 'Upcoming Release'
commit: 'chore(release): version bump'
publish: npm run ci:publish
version: npm run ci:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}