Repository navigation
chore: remove CODE_OF_CONDUCT and FUNDING files, update MUI dependenc… #197
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 Project | |
| on: push | |
| # This makes the token global for all jobs and steps in this file | |
| env: | |
| NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ "ubuntu-latest" ] | |
| node: [ "latest" ] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Cache node modules | |
| uses: actions/cache@v6 | |
| env: | |
| cache-name: cache-node-modules | |
| with: | |
| path: ~/.pnpm | |
| key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-build-${{ env.cache-name }}- | |
| ${{ runner.os }}-build- | |
| ${{ runner.os }}- | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| version: latest | |
| - name: Use Node.js ${{ matrix.node }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: "pnpm" | |
| - name: Install Dependencies | |
| run: pnpm i --frozen-lockfile | |
| - name: Build project | |
| run: pnpm build | |
| - name: Run tests | |
| run: pnpm test |