Update dependencies (major) #6071
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Lint and test | |
run: | | |
yarn lint | |
yarn test | |
- name: Build app & storybook | |
run: | | |
yarn build | |
mkdir -p "./dist/storybook/${{ github.head_ref }}" | |
yarn build-storybook -o "./dist/storybook/${{ github.head_ref }}" |