feat(scripts): update md5 and size script, use for v4 md5s #1374
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: Browser CI | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'browser/**' | |
- 'dataset-metadata/**' | |
- 'package.json' | |
- 'pnpm-lock.yaml' | |
pull_request: | |
paths: | |
- 'browser/**' | |
- 'dataset-metadata/**' | |
- 'package.json' | |
- 'pnpm-lock.yaml' | |
- '.github/workflows/**' | |
jobs: | |
checks: | |
name: Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: ^8.8.0 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '^18.17.1' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run ESLint | |
run: pnpm eslint browser | |
- name: Run stylelint | |
run: pnpm stylelint 'browser/**/*.(js|jsx|ts|tsx)' | |
- name: Type check | |
run: pnpm ts-node ./browser/build/buildHelp.ts && pnpm typecheck | |
- name: Verify clean build | |
run: cd browser && pnpm build | |
- name: Run Jest tests | |
run: pnpm jest --selectProjects browser |