Skip to content

Commit

Permalink
chore: migrate to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi committed Mar 18, 2024
1 parent 3306dd2 commit 120e197
Show file tree
Hide file tree
Showing 6 changed files with 10,760 additions and 42,228 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- run: npm ci
- run: npm run lint
- run: yarn
- run: yarn lint

build:
runs-on: ubuntu-latest
Expand All @@ -22,8 +22,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- run: npm ci
- run: npm run build
- run: yarn
- run: yarn build

test:
runs-on: ubuntu-latest
Expand All @@ -32,5 +32,5 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- run: npm ci
- run: npm run test
- run: yarn
- run: yarn test
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
with:
node-version-file: ".nvmrc"
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run test
- run: yarn
- run: yarn lint
- run: yarn build
- run: yarn test
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@

Install dependencies and start

```bash
yarn
yarn start
```

Or

```bash
npm i
npm start
Expand All @@ -17,6 +24,12 @@ Go to [localhost:6006](http://localhost:6006)

### Install

```bash
yarn add -D storybook-addon-playground
```

Or

```bash
npm install -D storybook-addon-playground
```
Expand Down
Loading

0 comments on commit 120e197

Please sign in to comment.