fix: trim auth header in OAT middleware #52
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: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Compile | |
| run: npx tsc | |
| - name: Test | |
| run: npm test | |
| - name: Install Syft | |
| run: curl -sSfL https://get.anchore.io/syft | sudo sh -s -- -b /usr/local/bin | |
| - name: Install Grype | |
| run: curl -sSfL https://get.anchore.io/grype | sudo sh -s -- -b /usr/local/bin | |
| - name: Install Grant | |
| run: curl -sSfL https://get.anchore.io/grant | sudo sh -s -- -b /usr/local/bin | |
| - name: Run Syft | |
| run: npm run sbom | |
| - name: Run Grype | |
| run: npm run scan | |
| - name: Run Grant | |
| run: npm run licenses |