Update GitHub Actions workflow to change lint command from 'pnpm run … #1346
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: Devcon Website CI | |
| on: | |
| push: | |
| paths: | |
| - "lib/**" | |
| - "devcon/**" | |
| - ".github/workflows/devcon.yml" | |
| pull_request: | |
| paths: | |
| - "lib/**" | |
| - "devcon/**" | |
| - ".github/workflows/devcon.yml" | |
| jobs: | |
| build: | |
| defaults: | |
| run: | |
| working-directory: ./devcon | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.13.1 | |
| run_install: false | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20.x" | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Run Eslint // Lint | |
| run: pnpm exec next lint . |