Fix storybook-builder and storybook-framework-web-components on Windows #259
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: Browser tests | |
on: pull_request | |
env: | |
FORCE_COLOR: true | |
jobs: | |
verify-linux: | |
timeout-minutes: 30 | |
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 | |
# build for production in CI to make sure tests can run with production build | |
- name: Build specific packages for production | |
run: npm run build:production | |
- name: Test | |
run: npm run test:browser |