Skip to content

feat: allow enforcing semver artifact versions in api #173

feat: allow enforcing semver artifact versions in api

feat: allow enforcing semver artifact versions in api #173

Workflow file for this run

name: nilcc API CI
on:
pull_request:
paths:
- 'nilcc-api/**'
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
working-directory: ./nilcc-api
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
- uses: pnpm/action-setup@v4
with:
package_json_file: nilcc-api/package.json
- run: pnpm install
- run: pnpm exec biome ci
- run: tsc
test:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
- uses: pnpm/action-setup@v4
with:
package_json_file: nilcc-api/package.json
- run: pnpm install
- env:
AWS_REGION: us-east-1
AWS_DEFAULT_REGION: us-east-1
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
AWS_ENDPOINT_URL: http://localhost:4566
run: pnpm vitest --coverage
- uses: davelosert/vitest-coverage-report-action@v2
if: always()
with:
comment-on: "pr"
vite-config-path: "nilcc-api/vitest.config.ts"
working-directory: "nilcc-api"