Skip to content

Update babel monorepo #1327

Update babel monorepo

Update babel monorepo #1327

Workflow file for this run

---
name: CI
on: [pull_request]
jobs:
setup:
name: SetUp
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
- name: Install
run: yarn install --frozen-lockfile
- name: Cache node modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-modules-
test:
name: Test
needs:
- setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
- name: Restore node modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Test
run: yarn test
build:
name: Build
needs:
- setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
- name: Restore node modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Build
run: yarn build
build-storybook:
name: Build Storybook
needs:
- setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
- name: Restore node modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Build Storybook
run: yarn build-storybook
# lint-ts:
# name: Lint TypeScript
# needs:
# - setup
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# cache: yarn
# - name: Restore node modules
# uses: actions/cache@v3
# with:
# path: "**/node_modules"
# key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-node-modules-
# - name: Lint TypeScript
# run: yarn lint:ts
# lint-css:
# name: Lint CSS
# needs:
# - setup
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# cache: yarn
# - name: Restore node modules
# uses: actions/cache@v3
# with:
# path: "**/node_modules"
# key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-node-modules-
# - name: Lint CSS
# run: yarn lint:css
# prettier:
# name: Prettier Check
# needs:
# - setup
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# cache: yarn
# - name: Restore node modules
# uses: actions/cache@v3
# with:
# path: "**/node_modules"
# key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-node-modules-
# - name: Prettier Check
# run: yarn prettier --check ./src