Skip to content

Commit

Permalink
revert to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Oct 25, 2023
1 parent 44e6622 commit c90b13f
Show file tree
Hide file tree
Showing 4 changed files with 1,880 additions and 15 deletions.
43 changes: 31 additions & 12 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
paths:
- '.github/**'
- '.eslintrc.cjs'
- 'bun.lockb'
- 'package.json'
- 'pnpm-lock.yaml'
- 'src/**'
- 'tests/**'
- 'webvsc.mjs'
Expand All @@ -18,8 +18,8 @@ on:
paths:
- '.github/**'
- '.eslintrc.cjs'
- 'bun.lockb'
- 'package.json'
- 'pnpm-lock.yaml'
- 'src/**'
- 'tests/**'
- 'webvsc.mjs'
Expand All @@ -38,19 +38,38 @@ jobs:
with:
fetch-depth: 1

- name: 'Setup Bun'
uses: 'oven-sh/setup-bun@a1800f471a0bc25cddac36bb13e6f436ddf341d7' # v1
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
bun-version: 'latest'
node-version: ${{ matrix.node-version }}

- name: 'Install dependencies'
run: bun install --frozen-lockfile
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- name: 'Setup pnpm cache'
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile --strict-peer-dependencies

- name: 'Lint Source'
run: bun run --if-present lint
- name: Lint Source
run: pnpm run --if-present lint

- name: 'Build Source'
run: bun run --if-present build
- name: Build Source
run: pnpm run --if-present build

- name: 'Run Tests'
run: bun run --if-present test
run: pnpm run --if-present test
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Converts presets to Webvs JSON format
**Example:**

```sh
webvs convert ./Plugins/avs/**/*.avs
$ webvs convert ./Plugins/avs/**/*.avs
```

#### `info`
Expand All @@ -55,8 +55,8 @@ Show list of effects and assets used by a preset
**Example:**

```sh
webvs info example.avs
webvs info ./Plugins/avs/**/*.avs --summary
$ webvs info example.avs
$ webvs info ./Plugins/avs/**/*.avs --summary
```

### Troubleshooting
Expand Down
Binary file removed bun.lockb
Binary file not shown.
Loading

0 comments on commit c90b13f

Please sign in to comment.