Fix storybook-builder and storybook-framework-web-components on Windows #178
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: Verify Storybook Builder | |
on: pull_request | |
jobs: | |
verify-storybook-builder-linux: | |
timeout-minutes: 60 | |
name: Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node 20 | |
uses: actions/setup-node@v4 | |
env: | |
FORCE_COLOR: 0 | |
with: | |
node-version: 20 | |
cache: npm | |
- name: Install Dependencies | |
run: npm ci | |
- name: Build packages | |
run: npm run build | |
- name: Symlink built packages binaries (e.g. "wds") | |
run: npm ci | |
- name: Run tests | |
run: npm run test:storybook-builder | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: packages/storybook-framework-web-components/playwright-report/ | |
retention-days: 30 | |
verify-storybook-builder-windows: | |
timeout-minutes: 60 | |
name: Windows | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node 20 | |
uses: actions/setup-node@v4 | |
env: | |
FORCE_COLOR: 0 | |
with: | |
node-version: 20 | |
cache: npm | |
- name: Install Dependencies | |
run: npm ci | |
- name: Build packages | |
run: npm run build | |
- name: Symlink built packages binaries (e.g. "wds") | |
run: npm ci | |
- name: Run tests | |
run: npm run test:storybook-builder | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: packages/storybook-framework-web-components/playwright-report/ | |
retention-days: 30 |