Skip to content

chore(deps): bump fast-xml-parser from 5.5.9 to 5.7.1 in the npm_and_yarn group across 1 directory #106

chore(deps): bump fast-xml-parser from 5.5.9 to 5.7.1 in the npm_and_yarn group across 1 directory

chore(deps): bump fast-xml-parser from 5.5.9 to 5.7.1 in the npm_and_yarn group across 1 directory #106

Workflow file for this run

name: Check dist
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
run:
name: Run
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
node-version-file: "package.json"
cache: "npm"
- name: Remove dist/ Directory
run: npx rimraf ./dist
- name: Install Dependencies
run: npm ci
- name: Build dist/ Directory
run: npm run build
- name: Compare Directories
id: diff
run: |
if [ ! -d dist/ ]; then
echo "Expected dist/ directory does not exist. See status below:"
ls -la ./
exit 1
fi
if [ "$(git diff --ignore-space-at-eol --text dist/index.js | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff --ignore-space-at-eol --text dist/index.js
exit 1
fi
- if: ${{ failure() && steps.diff.outcome == 'failure' }}
name: Upload Artifact
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
with:
name: dist
path: dist/