Validate profile records for views (#3238) #707
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: | |
- main | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
build: | |
name: Build & Publish | |
if: github.repository == 'bluesky-social/atproto' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- run: pnpm i --frozen-lockfile | |
- run: pnpm build | |
- run: pnpm verify | |
- name: Publish | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
publish: pnpm release | |
version: pnpm version-packages | |
commit: 'Version packages' | |
title: 'Version packages' |