feat(Amplitude): update amplitude SDK #1230
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
name: Build & Code Quality Checks | |
on: | |
pull_request: | |
branches: ['production', 'production-staging', 'hotfix/*'] | |
types: ['opened', 'reopened', 'synchronize'] | |
jobs: | |
build: | |
name: Build & Code Quality Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- name: Install dependencies | |
env: | |
HUSKY: 0 | |
run: | | |
npm ci | |
- name: Execute quality checks | |
run: | | |
npm run check:circular | |
npm run check:duplicates | |
- name: Execute security checks | |
run: | | |
npm run check:security | |
- name: Execute bundle size checks | |
uses: rudderlabs/github-action-check-size-limit@v2.6.0 | |
env: | |
HUSKY: 0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
build_script: check:size:build |