Auto-gen docs from v6.0.1 #48
Workflow file for this run
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: "CI: test & build" | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| push: | |
| branches: | |
| - master | |
| - dev | |
| - dev-v6 | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # "node_js: - stable" logic (Node 24 is current LTS/stable) | |
| node-version: [24.x] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "yarn" # Automatic caching for Yarn | |
| - name: Install dependencies | |
| # --frozen-lockfile ensures yarn.lock is respected exactly | |
| run: yarn install --frozen-lockfile | |
| - name: Run lint | |
| # This runs lint with eslint | |
| run: yarn lint | |
| - name: Run tests and generate coverage | |
| # This runs vitest with coverage enabled | |
| run: yarn test:coverage | |
| - name: Upload coverage to Coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| base-path: packages/sequelize-guard | |
| - name: Build the library | |
| run: yarn build |