Skip to content

Commit 09072f1

Browse files
committed
chore: add npm to workflow
1 parent 93ba666 commit 09072f1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/lint-test.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,21 @@ jobs:
2121
with:
2222
cache-dependency-path: |
2323
cosmo-router/plugins/users/go.sum
24+
go-version: 1.24
2425

2526
- uses: ./.github/actions/go-setup-tools
2627
- uses: ./.github/actions/go-mod-tidy
2728
with:
2829
working-directory: ./cosmo-router/plugins/users/
30+
- uses: actions/setup-node@v4
31+
with:
32+
node-version: 22
33+
cache: 'npm'
34+
- name: Install dependencies
35+
run: npm install
36+
- name: Generate code
37+
working-directory: ./cosmo-router/plugins/users
38+
run: npm run generate
2939

3040
- name: Lint
3141
uses: ./.github/actions/go-linter

0 commit comments

Comments
 (0)