Skip to content

command: v12.4.1

command: v12.4.1 #118

Workflow file for this run

name: Node CI Suite - Acceptance
on: [pull_request, release]
jobs:
acceptance:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node-version: [20.x, 22.x]
env:
ACCEPTANCE_TESTS: 'true'
steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- name: install libsecret-tools for Linux
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libsecret-tools gnome-keyring
- name: run acceptance tests (macOS/Windows)
if: runner.os != 'Linux'
run: npm run test:ci:acceptance
- name: run acceptance tests (Linux)
if: runner.os == 'Linux'
run: |
dbus-run-session -- bash -c '
eval "$(echo -n "heroku-credential-manager-ci" | gnome-keyring-daemon --unlock --components=secrets)"
npm run test:ci:acceptance
'