Bump @sap/xssec from 4.12.1 to 4.12.2 #955
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
| # This workflow will protect the main branch by testing and linting new PRs and commits | |
| name: Main PR | |
| on: | |
| pull_request_target: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20, 22, 24] | |
| name: test - node.js ${{ matrix.node-version }} | |
| steps: | |
| - name: Checkout safe merge ref | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: refs/pull/${{ github.event.pull_request.number }}/merge | |
| persist-credentials: false | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci --package-lock | |
| - name: deploy hana schema | |
| id: deploySchema | |
| run: npm run test:deploySchema | |
| env: | |
| HANA_DB_CREDENTIALS: ${{ secrets.HANA_DB_CREDENTIALS }} | |
| - run: npm run test:prepare | |
| - run: npm run test:unit | |
| - run: npm run voter:test:integration | |
| env: | |
| GITHUB_ACTION_HANA: true | |
| SCHEMA_GUIDS: ${{ steps.deploySchema.outputs.schemaGuids }} | |
| HANA_DB_CREDENTIALS: ${{ secrets.HANA_DB_CREDENTIALS }} | |
| - run: npm run test:cleanSchemas | |
| if: always() | |
| env: | |
| HANA_DB_CREDENTIALS: ${{ secrets.HANA_DB_CREDENTIALS }} | |
| SCHEMA_GUIDS: ${{ steps.deploySchema.outputs.schemaGuids }} | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout safe merge ref | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: refs/pull/${{ github.event.pull_request.number }}/merge | |
| persist-credentials: false | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - run: npm ci --package-lock | |
| - run: npm run lint:ci | |
| example-cap-server: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout safe merge ref | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: refs/pull/${{ github.event.pull_request.number }}/merge | |
| persist-credentials: false | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - run: npm i --prefix example-cap-server | |
| - run: npm run test --prefix example-cap-server |