Skip to content

Bump @types/node from 20.8.5 to 20.8.6 #8

Bump @types/node from 20.8.5 to 20.8.6

Bump @types/node from 20.8.5 to 20.8.6 #8

Workflow file for this run

name: Check Dist
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
check-dist:
name: "Check: Dist"
runs-on: ubuntu-latest
permissions:
contents: read
statuses: write
steps:
- name: "Setup: Checkout"
id: checkout
uses: actions/checkout@v4
- name: "Setup: PNPM"
uses: pnpm/action-setup@v2
with:
version: 8.9.0
- name: "Setup: Node"
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: "Setup: Install Dependencies"
id: install
run: pnpm install
- name: "Build: Bundle"
id: build
run: npm run bundle
- name: "Check: Compare Expected and Actual Directories"
id: diff
run: |
if [ "$(git diff --ignore-space-at-eol --text dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff --ignore-space-at-eol --text dist/
exit 1
fi
- name: "Build: Upload Artifact"
uses: actions/upload-artifact@v3
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
path: dist/