Skip to content

Commit

Permalink
#7 - Reverted to using npm
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikpyt committed Sep 27, 2023
1 parent ad9e37a commit 07e24c7
Show file tree
Hide file tree
Showing 8 changed files with 8,712 additions and 5,182 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node - ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
cache: 'npm'

- name: Install dependencies
run: pnpm install
run: npm install

- name: Run Build
run: pnpm run build
run: npm run build
11 changes: 3 additions & 8 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node - ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
cache: 'npm'

- name: Install dependencies
run: pnpm install
run: npm install

- name: Run Check
run: pnpm run check
run: npm run check
11 changes: 3 additions & 8 deletions .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node - ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
cache: 'npm'

- name: Install dependencies
run: pnpm install
run: npm install

- name: Check Format
run: pnpm exec prettier --check .
run: npx prettier --check .
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
src-tauri
node_modules
pnpm-lock.yaml
package-lock.json
public/lib
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,31 @@ This product is built using the following widely used technologies:
### 🚀 Quick start

1. Clone this repository or download the ZIP file
2. Make sure that you have **Node.js** and NPM, PNPM or Yarn installed
2. Make sure that you have **Node.js** and NPM installed
3. Install the project dependencies from the `package.json` file:

```sh
pnpm install
npm install
```

_PNPM is the package manager of choice for illustration, but you can use what you want._
_NPM is the package manager we've chosen for this repository._

1. Launch the Astro local development server on `localhost:4321` by running the following command:

```sh
pnpm run dev
npm run dev
```

You can also build the project and get the distribution files inside the `dist/` folder by running:

```sh
pnpm run build
npm run build
```

Then, you can preview the generated build with a local web server:

```sh
pnpm run preview
npm run preview
```

### 🛠 Tools
Expand Down
Loading

0 comments on commit 07e24c7

Please sign in to comment.