fix: counting of stylelint warnings/errors #75
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: Publish Package to npmjs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install pnpm | |
| run: npm install -g pnpm | |
| - name: ⤵️ Check out code from GitHub | |
| uses: actions/checkout@v3 | |
| with: | |
| persist-credentials: false | |
| - name: 🏗 Setup node version | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 22 | |
| registry-url: 'https://registry.npmjs.org' | |
| cache: 'pnpm' | |
| - name: 🏗 Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: 🏗 Build | |
| run: pnpm build | |
| - name: 🚀 Release | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| run: pnpm exec semantic-release |