This repository was archived by the owner on Oct 24, 2025. It is now read-only.
chore(ci): Add trusted publishing #198
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: Lint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| run-linters: | |
| name: Run linters | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: bullfrogsec/bullfrog@1831f79cce8ad602eef14d2163873f27081ebfb3 # v0.8.4 | |
| - name: Check out Git repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Set up node | |
| uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1.4.6 | |
| with: | |
| node-version: 12.x | |
| registry-url: https://registry.npmjs.org | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Run linters | |
| uses: wearerequired/lint-action@a8497ddb33fb1205941fd40452ca9fff07e0770d | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| prettier: true | |
| auto_fix: true | |
| prettier_extensions: 'css,html,js,json,jsx,md,sass,scss,ts,tsx,vue,yaml,yml,sol' |