File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929permissions : {}
3030
3131jobs :
32- build :
32+ extension :
3333 name : Build extension
3434 runs-on : ubuntu-latest
3535 steps :
6262 uses : actions/upload-artifact@v7
6363 with :
6464 path : neuropilot-*.vsix
65- name : NeuroPilot (Non-Production) Build ${{ github.sha }}
65+ name : NeuroPilot (Non-Production) Build ${{ github.sha }}
66+ api :
67+ name : Build API
68+ runs-on : ubuntu-latest
69+ steps :
70+ - name : Checkout source repository
71+ uses : actions/checkout@v6
72+ with :
73+ ref : ${{ github.sha }}
74+ submodules : true
75+ persist-credentials : false
76+
77+ - name : Setup pnpm
78+ uses : pnpm/action-setup@v6
79+
80+ - name : Setup Node.js
81+ uses : actions/setup-node@v6
82+ with :
83+ node-version-file : ./package.json
84+ cache : ' pnpm'
85+ cache-dependency-path : ' ./pnpm-lock.yaml'
86+
87+ - name : Install dependencies
88+ run : pnpm install --frozen-lockfile
89+
90+ - name : Build API types
91+ env :
92+ NODE_ENV : ${{ inputs.prod || '0' }}
93+ run : cd packages/types && pnpm build
You can’t perform that action at this time.
0 commit comments