Skip to content

feat: Automatically prefer localized pathnames that are more specific… #338

feat: Automatically prefer localized pathnames that are more specific…

feat: Automatically prefer localized pathnames that are more specific… #338

Workflow file for this run

name: publish
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.6.0
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
node-version: 18.x
cache: 'pnpm'
- run: pnpm install
# Seems like after squash & merge the author is unknown to lerna
- run: git config --global user.email "jan@amann.work" && git config --global user.name "Jan Amann"
- run: pnpm run publish
if: "${{startsWith(github.event.head_commit.message, 'fix: ') || startsWith(github.event.head_commit.message, 'feat: ')}}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true