Skip to content

ci: enable NPM_TOKEN for releasing automatically (#631) #69

ci: enable NPM_TOKEN for releasing automatically (#631)

ci: enable NPM_TOKEN for releasing automatically (#631) #69

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
commit: 'chore: release eslint-plugin-prettier'
title: 'chore: release eslint-plugin-prettier'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}