Skip to content

release: bump package(s) (#62) #98

release: bump package(s) (#62)

release: bump package(s) (#62) #98

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# This makes action fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
version: 16.x
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.5.1
- name: Install Dependencies
run: pnpm install
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@master
with:
publish: pnpm release
commit: 'release: bump package(s)'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}