feat: Modified to allow specification of prettier configuration files #151
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: calculate Js bundle size | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
calculate-size: | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- uses: pnpm/[email protected] | |
with: | |
version: 7.29.0 | |
- uses: sarthak-saxena/JSBundleSize@master | |
with: | |
bootstrap: 'pnpm i' | |
build_command: 'pnpm run build' | |
dist_path: 'dist' | |
token: ${{ secrets.GITHUB_TOKEN }} |