Merge pull request #105 from p-j/renovate/all #133
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: Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
# disable release action on forks | |
if: github.repository == 'p-j/geocodejson' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- run: yarn --pure-lockfile --ignore-engines | |
- uses: changesets/action@v1 | |
with: | |
publish: yarn release | |
commit: 'chore(release): publish' | |
title: Publish next versions | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |