chore(deps): bump stylelint from 16.12.0 to 16.20.0 #2195
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: Continuous Integration | |
| on: [push] | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: [18, 20, 22] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js ${{ matrix.node }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Security audit | |
| run: npm run check:security | |
| - name: Check licenses | |
| run: npm run check:licenses | |
| - name: Build | |
| run: npm run build | |
| - name: Lint | |
| run: npm run lint:ci | |
| - name: Unit test | |
| run: npm run test:ci | |
| - name: Upload code coverage | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Create release PR or publish to npm | |
| if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/canary') && matrix.node == 22 | |
| uses: changesets/action@v1 | |
| with: | |
| publish: npm run release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_PAT }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |