-
Notifications
You must be signed in to change notification settings - Fork 11
31 lines (28 loc) · 785 Bytes
/
release.yml
File metadata and controls
31 lines (28 loc) · 785 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
name: Release
on:
release:
types: [published]
permissions:
id-token: write # Required for OIDC
contents: write
jobs:
release-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.25.5
- uses: ./.github/actions/build-release-notes
- uses: actions/setup-node@v4
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
- run: npm install
working-directory: ./webui
- name: Install taskfile
run: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b ~/.local/bin
- name: Publish
run: task publish-npm-package VERSION=${GITHUB_REF##*/v}
env:
CGO_ENABLED: 0