This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
(feature) Project views & e-commerce #2168
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: Pull request validation workflow | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
types: [opened, labeled, synchronize, ready_for_review] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.12.x] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Setup NodeJS ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Lint validation | |
run: npm run lint | |
- name: Code formatting validation | |
run: npm run format | |
- name: TypeScript validation | |
run: npm run typecheck | |
- name: Knip validation | |
run: npm run knip |