usePromise defaultValue (via config) #375
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: Build | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
- next | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: ["22.3.0"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
# Turn off windows-defender for this folder to speed up compile | |
- if: runner.os == 'Windows' | |
name: windows-defender | |
run: powershell -Command Add-MpPreference -ExclusionPath "." | |
- name: install | |
run: yarn install --network-timeout 1000000 | |
- name: compile | |
run: yarn xy compile | |
- name: deps | |
run: yarn xy deps | |
- name: lint | |
run: yarn xy lint | |
- name: cycle | |
run: yarn xy cycle | |
- name: build-storybook | |
run: yarn build-storybook |