Skip to content

chore(deps): bump lodash from 4.17.21 to 4.18.1 #346

chore(deps): bump lodash from 4.17.21 to 4.18.1

chore(deps): bump lodash from 4.17.21 to 4.18.1 #346

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run security audit
run: npm audit --audit-level=high
continue-on-error: true
- name: Run lint and format check
run: npm run lint
- name: Run tests
run: npm test
- name: Run typecheck and build
run: npm run build
- name: Validate build artifacts
run: |
if [ ! -d "dist" ]; then
echo "Error: dist directory not created"
exit 1
fi
if [ ! -f "dist/index.html" ]; then
echo "Error: index.html not found in dist"
exit 1
fi
if [ ! -d "dist/assets" ]; then
echo "Error: dist/assets directory not created"
exit 1
fi
echo "✅ Build artifacts validated successfully"
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: site-dist
path: dist
retention-days: 7
# Call the Filecoin upload workflow
# This runs after test completes and reuses the build artifacts
filecoin-upload:
needs: test
permissions:
contents: read
checks: write
pull-requests: write
uses: ./.github/workflows/filecoin-pin-upload.yml
secrets:
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}