Merge pull request #13 from RightCapitalHQ/renovate/auto-merge-non-ma… #26
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
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Prepare Node.js | |
uses: actions/[email protected] | |
with: | |
node-version-file: .node-version | |
cache: pnpm | |
- name: Install deps | |
run: pnpm install | |
- name: ESLint | |
run: pnpm run eslint | |
- name: Prettier code style check | |
run: pnpm prettier . --check | |
- name: Build | |
run: pnpm run build |