chore(deps): update storybook monorepo to v8 #2636
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: test | |
on: | |
push: | |
branches: | |
- '*' | |
- '*/*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: restore dependencies cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
node_modules | |
**/*/node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | |
- name: install | |
working-directory: ./yogo | |
run: npm install | |
# TODO: MUST DELETE THIS STEP AFTER CLEANED UP COMMANDS | |
# This is a tmp hack to generate @dawlet/factory and @dawlet/graphql before linting @dawlet/core | |
- name: tmp | |
working-directory: ./yogo | |
run: npm run tmp | |
- name: lint | |
working-directory: ./yogo | |
run: npm run lint | |
- name: build | |
working-directory: ./yogo | |
run: npm run build | |
- name: test | |
working-directory: ./yogo | |
run: npm run test | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
flags: unittests | |
name: dawlet-poc | |
fail_ci_if_error: true |