Skip to content

Bump @cap-js-community/common from 0.3.4 to 0.3.5 (#430) #345

Bump @cap-js-community/common from 0.3.4 to 0.3.5 (#430)

Bump @cap-js-community/common from 0.3.4 to 0.3.5 (#430) #345

Workflow file for this run

# This workflow will protect the main branch by testing and linting new PRs and commits
name: Main CI
permissions:
contents: read
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 24]
name: test - node.js ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- 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:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: "npm"
- run: npm ci --package-lock
- run: npm run lint:ci
example-cap-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: 24
- run: npm i --prefix example-cap-server
- run: npm run test --prefix example-cap-server