Skip to content

Bump fast-xml-parser, @aws-sdk/client-cloudformation, @aws-sdk/client… #35

Bump fast-xml-parser, @aws-sdk/client-cloudformation, @aws-sdk/client…

Bump fast-xml-parser, @aws-sdk/client-cloudformation, @aws-sdk/client… #35

Workflow file for this run

name: Can be run as CLI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Install CLI globally
run: npm install -g .
- name: Test CLI
run: |
# Run the CLI with the example file
OUTPUT=$(ipssm test/data/IPSSMexample.csv test.csv)
echo "$OUTPUT"
# Check the stout for the expected output
if ! echo "$OUTPUT" | grep -q "File annotated successfully."; then
echo "CLI execution didn't work"
exit 1
fi