Skip to content

Release/1.0.0

Release/1.0.0 #2

Workflow file for this run

name: Publish
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 20.9.0
cache: pnpm
- name: install pnpm
run: npm i pnpm@latest -g
- name: Setup npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: install dependencies
run: pnpm install
- run: pnpm install --no-frozen-lockfile
- name: Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: pnpm ci:version
commit: "chore: update versions"
title: "chore: update versions"
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}