Skip to content

Commit

Permalink
chore: switch to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
sapkra committed Mar 13, 2024
1 parent d7ad2bc commit fbff0f7
Show file tree
Hide file tree
Showing 4 changed files with 18,450 additions and 9,742 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/deploy-storybook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,11 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: 20
cache: 'npm'

- name: Get yarn cache
id: yarn-cache
run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> "${GITHUB_OUTPUT}"

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.YARN_CACHE_DIR }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile
- run: yarn build-storybook
- run: npm ci
- run: npm run build-storybook

- name: 'upload'
uses: actions/upload-pages-artifact@v1
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ To increase the amount of PRs being merged asap, we have some guidelines:
```bash
git clone [email protected]:fragment-build/fragment-ui.git
cd fragment-ui
yarn install
npm install
```

- Run storybook

```bash
yarn storybook
npm run storybook
```

## 🤝 Community support
Expand Down
Loading

0 comments on commit fbff0f7

Please sign in to comment.