Skip to content

Commit e686140

Browse files
committed
[IGNORE] use npm to build instead of go script
Signed-off-by: Gabriel Bernal <[email protected]>
1 parent 4a121d1 commit e686140

4 files changed

Lines changed: 3 additions & 76 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@ jobs:
2323
enable_go: true
2424
- name: install dependencies
2525
run: npm ci
26-
- name: build library
27-
if: github.event_name == 'release'
28-
run: go run ./scripts/build-libraries/build-libraries.go --tag=${{ github.event.release.tag_name }}
29-
- name: build all libraries
30-
if: github.event_name != 'release'
31-
run: go run ./scripts/build-libraries/build-libraries.go
26+
- name: build libraries
27+
run: npm run build
3228
- name: store plugin archives
3329
uses: actions/upload-artifact@v4
3430
with:

go.mod

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ module github.com/perses/shared
22

33
go 1.25.0
44

5-
require (
6-
github.com/perses/common v0.28.0
7-
github.com/sirupsen/logrus v1.9.3
8-
)
5+
require github.com/sirupsen/logrus v1.9.3
96

107
require (
118
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
22
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
33
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
44
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
5-
github.com/perses/common v0.28.0 h1:XOqqEub54tuIRzVuR4kwwSYUDosGkTP8vYVbmvqhMkI=
6-
github.com/perses/common v0.28.0/go.mod h1:4iCXSVp7rN3NhvNpCXS4wuFKB057Ka5X2CJMfOE0Qf0=
75
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
86
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
97
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=

scripts/build-libraries/build-libraries.go

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)