Skip to content

Commit

Permalink
fix: using npm because yarn was giving me a headache
Browse files Browse the repository at this point in the history
  • Loading branch information
amiller68 committed Apr 2, 2024
1 parent 239cb67 commit 276f8c8
Show file tree
Hide file tree
Showing 7 changed files with 11,011 additions and 6,833 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/yarn
key: ${{ runner.OS }}-yarn-${{ hashFiles('**/yarn.lock') }}
path: ~/.cache/npm
key: ${{ runner.OS }}-npm-${{ hashFiles('**/npm.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-
${{ runner.OS }}-npm-
- name: Install dependencies
run: yarn install
run: npm install
- name: Build
run: yarn build
run: npm run build
10 changes: 5 additions & 5 deletions .github/workflows/fmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/yarn
key: ${{ runner.OS }}-yarn-${{ hashFiles('**/yarn.lock') }}
path: ~/.cache/npm
key: ${{ runner.OS }}-npm-${{ hashFiles('**/npm.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-
${{ runner.OS }}-npm-
- name: Install dependencies
run: yarn install
run: npm install
- name: Lint
run: yarn format:check
run: npm run format:check
11 changes: 9 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cache/yarn
key: ${{ runner.OS }}-yarn-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-yarn-
- name: Install dependencies
run: yarn install
run: npm install
- name: Lint
run: yarn lint
run: npm run lint
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A UI for decentralized AI
## Install the dependencies

```bash
yarn
npm i
```

### Start the app in development mode (hot-code reloading, error reporting, etc.)
Expand All @@ -17,19 +17,19 @@ quasar dev
### Lint the files

```bash
yarn lint
npm run lint
```

### Format the files

```bash
yarn format
npm run format
```

### Build the app for production

```bash
quasar build
npm run build
```

### Customize the configuration
Expand Down
Loading

0 comments on commit 276f8c8

Please sign in to comment.