Sp24 787 stats #1130
Workflow file for this run
This file contains 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
# This workflow will do a clean install of node dependencies, build the source code, perform lint checks and run tests across different versions of node. | |
# This workflow will only be run for pull requests to either master or develop branch provided there are no merge conflicts. | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
# TODO: Add a step for performing bun test. | |
name: Lint & Build | |
on: | |
pull_request: | |
branches: ["master", "develop"] | |
jobs: | |
build: | |
name: Lint & Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [21.x] | |
steps: | |
- name: Checkout ✔️ | |
uses: actions/checkout@v4 | |
- name: Setup bun 🥟 | |
uses: oven-sh/setup-bun@v1 | |
- name: Install dependencies 📝 | |
run: bun install | |
- name: Run Lint 🧼 | |
run: bun run lint | |
- name: Build 🛠️ | |
run: bun run build --configuration ComputasProd |