Skip to content

chore(deps): bump actions/setup-node from 3.6.0 to 4.0.2 #84

chore(deps): bump actions/setup-node from 3.6.0 to 4.0.2

chore(deps): bump actions/setup-node from 3.6.0 to 4.0.2 #84

Workflow file for this run

name: Check dist
on:
push:
branches:
- master
pull_request:
jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
- name: Set Node.js 16.x
uses: actions/[email protected]
with:
cache: 'pnpm'
node-version: 16.x
- name: Install dependencies
run: pnpm install
- name: Rebuild the dist/ directory
run: |
pnpm build
pnpm package
- name: Compare the expected and actual dist/ directories
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi
id: diff