Skip to content

chore: change verify workflow to not use yarn on nested packages #621

chore: change verify workflow to not use yarn on nested packages

chore: change verify workflow to not use yarn on nested packages #621

Workflow file for this run

name: Verify
on:
push:
pull_request:
workflow_dispatch:
jobs:
react-versions:
runs-on: ubuntu-latest
strategy:
matrix:
react: [ 16, 17, 18 ]
name: React ${{ matrix.react }} Build
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- name: Dependencies
run: yarn
- name: Custom React version
run: |
echo -e "nodeLinker: node-modules\nenableImmutableInstalls: false" > ./.yarnrc.yml
npm pkg set devDependencies.react=${{matrix.react}} --ws
cat ./.yarnrc.yml
yarn
- name: Build
run: yarn build:core
verify:
runs-on: ubuntu-latest
name: Lint and Test
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- name: Dependencies
run: yarn
- name: Lint
run: yarn lint
- name: Build
run: yarn build
- name: Test
run: yarn test
- name: Storybook
run: yarn build-storybook