Skip to content

Load custom Smithy classpath #42

Load custom Smithy classpath

Load custom Smithy classpath #42

Workflow file for this run

name: Monitor bundle size
on:
pull_request:
branches: ["**"]
types: [synchronize, opened, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "17.6.0"
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: sbt
- run: |
npm install
npm run build
working-directory: ./modules/frontend
- name: Run BundleMon
working-directory: ./modules/frontend
run: ./node_modules/.bin/bundlemon
env:
CI_COMMIT_SHA: ${{github.event.pull_request.head.sha || github.sha}} # important!