Reuse featureLabelsMap and async function plugins for HuBMAP ensembl ID mapping #984
Workflow file for this run
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
# Reference: https://github.com/pmndrs/zustand/blob/1808bf4d3dce944d054fa0cb9a605bd6d8e96d8d/.github/workflows/compressed-size-action.yml | |
name: Bundle size | |
on: [ pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.10.0 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
id: pnpm-install | |
with: | |
run_install: true | |
- id: get-options | |
run: . ./scripts/set-node-options.sh --action | |
shell: bash | |
- uses: preactjs/compressed-size-action@2.6.0 | |
with: | |
minimum-change-threshold: 1000 | |
compression: "none" | |
build-script: "build:ci" | |
clean-script: "clean" | |
pattern: "./packages/main/prod/dist/**/*" | |
strip-hash: "\\-(\\w{8})\\.js$" | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
env: | |
NODE_OPTIONS: ${{ steps.get-options.outputs.node-options }} |