-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (37 loc) · 860 Bytes
/
Copy pathrelease.yml
File metadata and controls
43 lines (37 loc) · 860 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
35
36
37
38
39
40
41
42
43
name: Release
on:
push:
branches:
- master
- '[0-9]+.x'
- '[0-9]+.[0-9]+.x'
permissions:
contents: read
jobs:
release:
name: Release
timeout-minutes: 5
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write
outputs:
git-head: ${{steps.git.outputs.head}}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Verify Provenance & Signatures
run: npm audit signatures
- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}