-
-
Notifications
You must be signed in to change notification settings - Fork 9
28 lines (27 loc) · 619 Bytes
/
release.yml
File metadata and controls
28 lines (27 loc) · 619 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
name: Release
"on":
push:
branches:
- "*.x"
- main
- next
- beta
permissions:
id-token: write # to enable use of OIDC for trusted publishing and npm provenance
contents: write # tags and releases
pull-requests: write # comments
issues: write # comments
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- run: npm ci
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}