Skip to content

Commit

Permalink
fix(codegen): gen entry point should have shebang, fix ci (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
zfy0701 authored Nov 7, 2023
1 parent ccfba04 commit 88ff525
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ version: 2.1
# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
# See: https://circleci.com/docs/2.0/orb-intro/
orbs:
node: circleci/node@5.0.2
node: circleci/node@5.1.0

jobs:
build_and_test:
executor: node/default # use the default executor defined within the orb
executor:
name: node/default # use the default executor defined within the orb
tag: '18.18'
steps:
- checkout
- restore_cache:
Expand All @@ -19,7 +21,9 @@ jobs:
name: Install pnpm package manager
command: |
sudo corepack enable
sudo corepack prepare pnpm@latest-8 --activate
sudo corepack prepare [email protected] --activate
node --version
pnpm --version
- run:
name: Install Dependencies
command: |
Expand Down
2 changes: 1 addition & 1 deletion packages/aptos/src/codegen/run.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// #!/usr/bin/env node
#!/usr/bin/env node

import { codegen } from './codegen.js'
import { AptosClient } from 'aptos'
Expand Down
2 changes: 1 addition & 1 deletion packages/sui/src/codegen/run.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// #!/usr/bin/env node
#!/usr/bin/env node

import { codegen } from './codegen.js'

Expand Down

0 comments on commit 88ff525

Please sign in to comment.