Skip to content

Commit

Permalink
chore(ci): update
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhu92 committed Jan 23, 2025
1 parent d71d2c8 commit 3438551
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]

steps:
-
Expand Down Expand Up @@ -41,7 +41,9 @@ jobs:
-
name: Build
run: |
yarn install
corepack prepare pnpm@latest --activate
corepack enable pnpm
pnpm install
go mod vendor
npm run buildPkg
-
Expand Down
2 changes: 1 addition & 1 deletion toolkit/buildPkg.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const pkgName = 'tencent-cls-grafana-datasource'
const execScripts = [
'rm -rf dist',
'npm run build',
'$(go env GOPATH)/bin/mage',
'mage || $(go env GOPATH)/bin/mage',
`cp -r dist ${pkgName}`,
`zip -r ${pkgName}.zip ${pkgName}`,
`rm -rf ${pkgName}`,
Expand Down

0 comments on commit 3438551

Please sign in to comment.