testing #6
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 Pipeline | |
on: | |
push: | |
branches: | |
- main | |
- feat/ci_cd_pitchlake | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Setup pnpm | |
run: npm install -g [email protected] | |
- name: Install dependencies with pnpm | |
run: pnpm install | |
- name: Lint code with ESLint | |
run: pnpm lint | |
env: | |
CI: true | |
- name: Build the project | |
run: pnpm build | |
env: | |
CI: true |