Repository navigation
docs: say what the repository is for (#17) #35
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: Node CI | |
| # На каждое событие ровно один workflow: здесь нет release-please, поэтому | |
| # main проверяет Node CI. | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [26.x] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| # pnpm ставится до setup-node: тот с cache: pnpm ищет уже существующий | |
| # бинарь, чтобы вычислить путь к store, и иначе падает с | |
| # «Unable to locate executable file: pnpm». | |
| - uses: pnpm/action-setup@v6 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: pnpm | |
| - name: Install | |
| run: make install | |
| - name: Run linter | |
| run: make lint |