Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Merge pull request #22 from lorenzolewis/changeset-release/main #36

Merge pull request #22 from lorenzolewis/changeset-release/main

Merge pull request #22 from lorenzolewis/changeset-release/main #36

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
if: ${{ github.repository_owner == 'lorenzolewis' }}
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
cache: pnpm
node-version: 18
- name: Install dependencies
run: pnpm install
- name: Create Release Pull Request
uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm changeset publish
commit: "[ci] release"
title: "[ci] release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}