Skip to content

chore(deps): update actions/checkout action to v4 (#163) #99

chore(deps): update actions/checkout action to v4 (#163)

chore(deps): update actions/checkout action to v4 (#163) #99

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: Publish & Deploy
runs-on: ubuntu-latest
env:
CI: true
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- uses: pnpm/action-setup@v2
- name: Setup Node.js
uses: actions/setup-node@main
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Create release PR or publish to npm
uses: changesets/action@c2918239208f2162b9d27a87f491375c51592434
with:
version: pnpm run version
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}