-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (30 loc) · 827 Bytes
/
release.yml
File metadata and controls
34 lines (30 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Release
on:
push:
branches:
- main
permissions:
id-token: write # Required for OIDC
contents: write # Required to push tags
pull-requests: write # Required to create release PRs
jobs:
release:
# disable release action on forks
if: github.repository == 'p-j/geocodejson'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-node@v5
with:
node-version: 24
registry-url: https://registry.npmjs.org
- 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 }}