* fix: caching deps + add true parallelization to integration tests api * fix: github action * chore: upgrade to yarn berry (#1762) * init migration * remove: yarn.lock from all pkgs * fix: build script in pkgs * adjust yarn config * fix: yarn.lock and yarnrc.yml * fix: github actions * fix: wrong type * fix (medusa-react): use dts-cli instead of tsdx * fix: yarn.lock * fix: yarn v * fix: prepare script * add: comment on why we need to downgrade yarn before medusa-dev * chore: move to Turborepo (#1763) * increase number of parallel nodes * fix (medusa-fulfillment-webshipper): build script * fix: use new version of medusa-dev * fix: rename cache-bootstrap to cache-deps
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
name: Generate References
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
paths:
|
|
- packages/medusa/src/services/**
|
|
jobs:
|
|
services:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Cancel Previous Runs
|
|
uses: styfle/cancel-workflow-action@0.9.1
|
|
with:
|
|
access_token: ${{ github.token }}
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v2.3.5
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Node.js environment
|
|
uses: actions/setup-node@v2.4.1
|
|
with:
|
|
node-version: "14"
|
|
cache: "yarn"
|
|
|
|
- name: Install packages
|
|
uses: ./.github/actions/cache-deps
|
|
with:
|
|
extension: unit-tests
|
|
|
|
- name: Build Packages
|
|
run: yarn build
|
|
|
|
- name: Generate Services Reference
|
|
run: yarn generate:services
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: Automatically Generated Services Reference
|
|
file_pattern: docs/content/*
|
|
skip_dirty_check: false
|