chore(deps-dev): bump axios from 1.6.7 to 1.7.7 #68
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: CI | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
branches: [develop] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: 'npm' | |
- name: Install Node modules | |
run: npm ci | |
- name: Run ESLint | |
run: npx eslint . | |
- name: Ensure everything builds | |
run: npm run build | |
# Having no tests makes this command exit with an error | |
# status. You can uncomment it once there's at least | |
# one test. | |
#- name: Run tests | |
# run: npm test | |
- name: Install Playwright | |
run: npx playwright install --with-deps | |
- name: Run Storybook tests | |
run: | | |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \ | |
"npx http-server storybook-static --port 6006 --silent" \ | |
"npx wait-on http://127.0.0.1:6006/ && npm run test-storybook" | |
- name: Deploy Storybook | |
if: github.event_name != 'pull_request' | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: storybook-static | |
target-folder: storybook | |
single-commit: true |