-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 1004 Bytes
/
Copy pathreusable-release-sdk.yaml
File metadata and controls
41 lines (33 loc) · 1004 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
# Copyright AGNTCY Contributors (https://github.com/agntcy)
# SPDX-License-Identifier: Apache-2.0
name: Release SDK
on:
workflow_call:
workflow_dispatch:
permissions:
contents: read
id-token: write # Required for npm OIDC trusted publishing
jobs:
javascript:
name: JavaScript
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Install Task
uses: go-task/setup-task@a00fbb05ce67b35648be3c78cbc9fd85354c757e # v2.2.0
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.x"
registry-url: https://registry.npmjs.org/
scope: "@agntcy"
- name: Build the Javascript package
run: |
task deps
task build
- name: Publish the Javascript SDK
run: |
task release