repository template for Node.js & TypeScript projects

ci: fix minor issues with CI workflows

Changed files
+8 -11
.tangled
+2 -3
.tangled/workflows/build.yml
··· 1 1 when: 2 - - event: ["pull_request"] 2 + - event: ["push", "pull_request"] 3 3 branch: ["main"] 4 4 5 - engine: 6 - - nixery 5 + engine: "nixery" 7 6 8 7 dependencies: 9 8 nixpkgs:
+3 -4
.tangled/workflows/codeqa-fmt.yml
··· 1 1 when: 2 - - event: ["pull_request"] 2 + - event: ["push", "pull_request"] 3 3 branch: ["main"] 4 4 5 - engine: 6 - - nixery 5 + engine: "nixery" 7 6 8 7 dependencies: 9 8 nixpkgs: ··· 14 13 - name: Install dependencies 15 14 command: pnpm install --frozen-lockfile 16 15 - name: Run formatter checks 17 - command: npm run fmt-check 16 + command: pnpm run fmt-ci
+3 -4
.tangled/workflows/codeqa-lint.yml
··· 1 1 when: 2 - - event: ["pull_request"] 2 + - event: ["push", "pull_request"] 3 3 branch: ["main"] 4 4 5 - engine: 6 - - nixery 5 + engine: "nixery" 7 6 8 7 dependencies: 9 8 nixpkgs: ··· 14 13 - name: Install dependencies 15 14 command: pnpm install --frozen-lockfile 16 15 - name: Run linter checks 17 - command: npm run lint 16 + command: pnpm run lint