minor(nuvlaedge-self-registration.py): fallback to socket.gaierror if… #2224
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bundle Size | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- '*' | |
tags: | |
- '*' | |
workflow_dispatch: | |
defaults: | |
run: | |
working-directory: ./code | |
jobs: | |
bundle-size: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: npm ci --legacy-peer-deps | |
- name: Analyze bundle size | |
run: npx shadow-cljs run shadow.cljs.build-report nuvla-ui bundle-size-report-${{ github.sha }}.html | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: bundle-size-${{ github.sha }} | |
path: code/bundle-size-report-${{ github.sha }}.html | |
retention-days: 30 |