Repository navigation
fix(redirects): better destination IP validation #361
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| - edited | |
| workflow_dispatch: | |
| jobs: | |
| eslint: | |
| name: Eslint | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - run: npm ci | |
| - run: npm run lint | |
| prettier: | |
| name: Prettier | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - run: npm ci | |
| - run: npm run format | |
| conventional_commits: | |
| name: Conventional Commits | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Run conventional commits | |
| env: | |
| TITLE: ${{ github.event.pull_request.title }} | |
| run: | | |
| npm install | |
| echo "$TITLE" | npx commitlint | |
| build: | |
| name: Build | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: ./build.sh | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| id: dist-artifact | |
| with: | |
| name: dist-${{ github.sha }} | |
| path: dist | |
| retention-days: 7 |