Skip to content

chore(main): release 1.3.1 #198

chore(main): release 1.3.1

chore(main): release 1.3.1 #198

Workflow file for this run

name: Continuous Integration
on:
pull_request:
branches:
- main
push:
branches:
- main
merge_group:
workflow_dispatch:
permissions:
contents: read
jobs:
test-javascript:
name: JavaScript Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v7
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install Dependencies
id: npm-ci
run: npm ci
- name: Check Format
id: npm-format-check
run: npm run format:check
- name: Lint
id: npm-lint
run: npm run lint
- name: Test
id: npm-ci-test
run: npm run ci-test
- name: Smoke-load bundled dist/
id: smoke-load
run: |
set -o pipefail
output=$(env \
INPUT_INTEGRATION-KEY=00000000000000000000000000000000 \
INPUT_EVENT-ACTION=resolve \
INPUT_DEDUP-KEY=ci-smoke \
INPUT_SUMMARY=ci-smoke \
INPUT_SOURCE=ci-smoke \
INPUT_SEVERITY=info \
INPUT_CLIENT=ci-smoke \
INPUT_CLIENT-URL=https://example.invalid \
node dist/index.js 2>&1) || true
echo "$output"
if echo "$output" | grep -qE "ERR_REQUIRE_ESM|ERR_UNKNOWN_FILE_EXTENSION|ERR_MODULE_NOT_FOUND|Cannot use import|SyntaxError"; then
echo "::error::Bundle failed to load under Node ESM"
exit 1
fi