Skip to content

Commit

Permalink
Merge branch 'main' into rb-webhook-for-issuance-config
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrazhnyk committed Feb 20, 2025
1 parent ef51142 commit e0d5db2
Show file tree
Hide file tree
Showing 39 changed files with 6,257 additions and 6,497 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: checks

on: [pull_request_target]
on: [pull_request]

jobs:
lint:
Expand All @@ -13,7 +13,7 @@ jobs:
ref: ${{ github.head_ref }}

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20

Expand All @@ -36,13 +36,17 @@ jobs:
with:
node-version: 20

- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libsecret-1-dev

- name: Install dependencies
run: npm audit --level medium
run: npm ci

- run: npm ci
- name: Run security audit
run: npm audit --level medium

- run: npm run test
name: "test"
- name: Run tests
run: npm run test
build:
runs-on: ubuntu-latest
steps:
Expand All @@ -52,12 +56,12 @@ jobs:
fetch-depth: 0
ref: ${{ github.head_ref }}
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build
run: npm run build
4 changes: 2 additions & 2 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"require": ["test/helpers/init.js", "ts-node/register"],
"require": ["test/helpers/init.js"],
"watch-extensions": ["ts"],
"recursive": true,
"reporter": "spec",
"timeout": 60000,
"node-option": ["loader=ts-node/esm", "experimental-specifier-resolution=node"]
"node-option": ["import=tsx", "experimental-specifier-resolution=node"]
}
2 changes: 1 addition & 1 deletion bin/dev.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off

node --loader ts-node/esm --no-warnings=ExperimentalWarning "%~dp0\dev" %*
node --import tsx --no-warnings=ExperimentalWarning "%~dp0\dev" %*
2 changes: 1 addition & 1 deletion bin/dev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env -S node --loader ts-node/esm --no-warnings=ExperimentalWarning
#!/usr/bin/env -S node --import tsx --no-warnings=ExperimentalWarning

import { execute } from '@oclif/core'

Expand Down
Loading

0 comments on commit e0d5db2

Please sign in to comment.