Skip to content

Bump glob from 8.1.0 to 11.0.2 #70

Bump glob from 8.1.0 to 11.0.2

Bump glob from 8.1.0 to 11.0.2 #70

Workflow file for this run

# https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/
#
# Do a build
# Measure assets sizes
# Upload artifact
# Consumed by size-comment.yml for comparison
name: "Size: PR"
# read-only repo token
# no access to secrets
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm build
- run: sudo snap install dust
- name: Save PR number
run: |
mkdir -p ./pr
echo "${{ github.event.number }}" > ./pr/NR
- name: "Get sizes for development outputs"
id: dev
run: |
cd dist/packages
dust --ignore_hidden \
--reverse --apparent-size \
--no-percent-bars \
--only-dir \
--depth 20 \
> out.txt
cp out.txt ../../pr/
- uses: actions/upload-artifact@v4
with:
name: pr-${{ github.run_id }}
path: pr/
overwrite: true
# This artifact should be read immediately by
# size-comment.yml upon completion
retention-days: 1