Revert "feat: Bump Axios to 0.28.0 (#988)" #3829
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18.18.0' | |
cache: 'npm' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: npm install --legacy-peer-deps | |
# todo - lint only file deltas, not entire codebase (speeds up workflow) | |
- name: Check code formatting and quality | |
run: npm run lint:check | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18.18.0' | |
cache: 'npm' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: npm install --legacy-peer-deps | |
- name: Verify rollup build succeeds | |
run: npm run build | |
- name: Verify storybook static build succeeds | |
run: npm run storybook:export | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '18.18.0' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install --legacy-peer-deps | |
- name: Verify all unit tests pass | |
run: npm run test:ci |