Skip to content

Merge pull request #136 from public-assembly/changeset-release/main #81

Merge pull request #136 from public-assembly/changeset-release/main

Merge pull request #136 from public-assembly/changeset-release/main #81

Workflow file for this run

name: Release
on:
push:
branches: ['main']
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [19]
pnpm-version: [8]
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: pnpm/[email protected]
with:
version: ${{ matrix.pnpm-version }}
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'pnpm'
version: ${{ matrix.pnpm-version }}
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/[email protected]
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}