File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed
Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change 1- name : Python check
1+ name : Pre-Commit & JS Checks
22
33on :
44 pull_request :
8686 git --no-pager diff
8787 exit 1
8888 fi
89+
90+ js_checks :
91+ name : JS Lint & Build
92+ runs-on : ubuntu-latest
93+
94+ steps :
95+ - uses : actions/checkout@main
96+
97+ - name : Install pnpm
98+ uses : pnpm/action-setup@v4
99+ with :
100+ package_json_file : ./functions/package.json
101+
102+ - name : Setup node environment
103+ uses : actions/setup-node@v4
104+ with :
105+ node-version-file : ./functions/package.json
106+ cache : ' pnpm'
107+ cache-dependency-path : ./functions/pnpm-lock.yaml
108+
109+ - name : Install JS dependencies
110+ working-directory : ./functions
111+ run : pnpm install --frozen-lockfile
112+
113+ - name : Run lint
114+ working-directory : ./functions
115+ run : pnpm lint
116+
117+ - name : Build project
118+ working-directory : ./functions
119+ run : pnpm build
You can’t perform that action at this time.
0 commit comments