🔧 update: migrate to node.js runtime with bun as toolchain #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Flow | |
| on: | |
| pull_request: | |
| branches: [dev, main] | |
| push: | |
| branches: [dev, main] | |
| release: | |
| types: [published] | |
| workflow_dispatch: | |
| concurrency: | |
| group: build-flow-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-flow: | |
| permissions: | |
| contents: write | |
| packages: write | |
| pull-requests: write | |
| security-events: write | |
| actions: read | |
| uses: wgtechlabs/build-flow-action/.github/workflows/app.yml@v0.2.0 | |
| secrets: inherit | |
| with: | |
| ci-profile: node-bun | |
| ci-install-command: bun install --frozen-lockfile | |
| ci-lint-command: bunx biome check . --reporter=github | |
| ci-typecheck-command: bun run typecheck | |
| ci-test-command: bun test | |
| ci-build-command: bun run build | |
| ci-matrix-versions: '["22","24","26"]' | |
| codeql-build-mode: none | |
| enable-package: true | |
| package-registry: both | |
| package-manager: bun |