Bump next from 14.2.16 to 14.2.35 (#135) #199
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: 'typescript' | |
| on: 'push' | |
| jobs: | |
| typescript: | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - name: 'Setup Git Project' | |
| uses: 'actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd' # v6.0.2 | |
| - name: 'Setup Typescript Env' | |
| uses: 'actions/setup-node@v4' | |
| with: | |
| node-version: '22.x.x' | |
| - name: 'Install Package Manager' | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: '1.2.21' | |
| - name: 'Install Typescript Dependencies' | |
| run: | | |
| bun install | |
| bun install prettier --global | |
| - name: 'Check Git Project' | |
| run: | | |
| if [[ $(git status --porcelain) ]]; then | |
| echo "found dirty files" | |
| exit 1 | |
| fi | |
| - name: 'Check Typescript Formatter' | |
| run: | | |
| prettier -c $(find ./src -name "*.ts" -o -name "*.tsx") | |
| - name: 'Check Typescript Linter' | |
| run: | | |
| bun run lint | |
| - name: 'Build Typescript Project' | |
| run: | | |
| bun run build |