chore(deps): replace typescript build tools #464
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: "Build" | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| linting: | |
| name: Static linting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install NPM dependencies | |
| run: npm ci | |
| - name: ESLint | |
| run: npm run eslint:ci | |
| - name: Prettier | |
| run: npm run prettier:ci | |
| tests: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install NPM dependencies | |
| run: npm ci | |
| - name: Tests | |
| run: npm run test:ci | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install NPM dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| github-action-test: | |
| name: Github Action Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run Github Action in dry-run mode | |
| uses: ./ | |
| with: | |
| dry-run: true |