Merge pull request #25813 from storybookjs/jeppe/increase-e2e-resources #35618
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: Unit tests | |
on: | |
push: | |
branches: | |
- next | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
name: Core Unit Tests, ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set node version | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: install and compile | |
run: yarn task --task compile --start-from=auto --no-link | |
- name: test | |
run: yarn test |