Skip to content

fix(ci): downgrade conventionalcommits to v7 #12

fix(ci): downgrade conventionalcommits to v7

fix(ci): downgrade conventionalcommits to v7 #12

Workflow file for this run

name: Run Tests
on:
pull_request:
branches:
- 'main'
push:
branches:
- main
permissions:
contents: read
checks: write
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
services:
localstack:
image: localstack/localstack
env:
SERVICES: sqs,s3
DEFAULT_REGION: us-east-1
DATA_DIR: /tmp/localstack/data
ports: ["4566:4566"]
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: NPM Audit
run: npx audit-ci
- name: Install Node Modules
run: npm ci
- name: Run Tests and Linting
run: npm run test:ci
env:
AWS_ACCESS_KEY_ID: localstack
AWS_SECRET_ACCESS_KEY: localstack
- uses: actions/upload-artifact@v4
with:
name: test-reports-${{ matrix.node-version }}
path: test/reports/