Skip to content

Merge pull request #6 from swordev/changeset-release/main #17

Merge pull request #6 from swordev/changeset-release/main

Merge pull request #6 from swordev/changeset-release/main #17

Workflow file for this run

name: CI
on:
push:
branches:
- main
- develop
env:
NODE_VERSION: 20
PNPM_VERSION: 8
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- run: pnpm install
- uses: changesets/action@v1
with:
commit: "chore: update versions"
title: Update versions
publish: pnpm exec changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}