Merge pull request #1021 from commercelayer/global-css #3796
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: Test | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| tags-ignore: | |
| - 'v*' | |
| pull_request: | |
| types: [ready_for_review] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v4 | |
| - name: pnpm 🧰 | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| version: 9 | |
| - name: Node 🧰 | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: 'pnpm' | |
| - name: Install 📦 | |
| run: pnpm install | |
| - name: Run Lint 💅 | |
| run: pnpm lint | |
| - name: Run TS check 🔎 | |
| run: pnpm ts:check | |
| - name: Run Audit 🔬 | |
| run: pnpm audit || exit 0 | |
| - name: Run Unit Tests 🧪 | |
| run: pnpm test |