Bump @storybook/nextjs from 7.5.3 to 8.0.6 #629
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: Test and Deploy | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v4 | |
- name: Install π§ | |
run: npm install | |
- name: Lint π§ | |
run: npm run lint | |
- name: Typecheck π§ | |
run: npm run typecheck | |
- name: Test π§ | |
run: npm test | |
- name: Build π§ | |
run: npm run build | |
- name: E2E π§ | |
run: | | |
npx playwright install-deps | |
npm run test-e2e-ci | |
- name: Lighthouse π‘ | |
run: npm run test-lighthouse | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
needs: test | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v4 | |
- name: Install π§ | |
run: npm install | |
- name: Build π§ | |
run: | | |
npm run build | |
touch out/.nojekyll | |
- name: Deploy π | |
uses: JamesIves/[email protected] | |
with: | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: out # The folder the action should deploy. |